Rob

Unregistered less info
101 reputation
3
bio website mgateway.com
location
age
visits member for 3 years, 11 months
seen Oct 19 '10 at 6:44

Sep
28
awarded  Commentator
Sep
28
comment Is MUMPS alive?
By the way, regarding the maintenance and re-use of leaky legacy code, see groups.google.co.uk/group/comp.lang.mumps/browse_thread/thread/…
Sep
28
comment Is MUMPS alive?
Of course, in the latter NoSQL role, there's no need to force newbies to use the Mumps language - hence some of the initiatives currently going on with Python and node.js interfacing. Both, of course, require back-end Mumps coding at the "system" level as it were. It's actually a great language for that kind of stuff and of course no developer ever needs it. They can then access the Mumps NoSQL engine from their own pet "modern" language with all the scoping and safety-net features they feel they need to get their job done and protect them from all their worst nightmares.
Sep
28
comment Is MUMPS alive?
What I try to articulate is that the Mumps language actually is fit for purpose and, in the right hands and yes, with the correct discipline (which all programmers should have anyway), there's no reason why a progressive re-write of, eg VistA, couldn't be done without leaving Mumps. A much safer approach. Additionally, I'm certain that the core Mumps database engine is being wrongly overlooked as a very powerful NoSQL candidate, primarily because of widely-held and perpetuated misconceptions about the language. I'd like to put an end to that and get it properly on the NoSQL map.
Sep
28
comment Is MUMPS alive?
Phil - my main gripe is with ill-informed "experts" who see examples of old legacy Mumps code in the VistA (or other) applications, throw their hands up in horror and then say that the whole lot should be rewritten in something "more modern". I've watched over the years as such experts force hugely expensive rewriting projects to be commenced and for them to all fail. The fact is that you can't rip and replace huge legacy systems, particularly if, despite the quality of the code, they work and work very well....
Sep
26
revised Is MUMPS alive?
added 54 characters in body
Sep
26
comment Is MUMPS alive?
Looking at your original example, the value x, when new'd in procedure f is automatically available to g - that's just the way Mumps is. In the same way, people who are used to C-syntax languages are surprised when they discover that scope in Javascript is only applied to functions, and not, eg, to within loops or blocks inside a function. That's just the way it is - once you know it, you deal with it accordingly. Such idiosyncrasies have not stopped people accepting and adopting Javascript.
Sep
26
comment Is MUMPS alive?
Now one of the reasons you see Mumps code out there that doesn't use new commands and which relies on the variables being global (so it breaks if you New the variables) is because it was written at a time in the past before functions and lexical scoping were added to the language. Unfortunately there is a LOT of legacy code out there and, yes, it ends up being a nightmare to maintain, but that's legacy for you. On the other hand, it's quite possible to write clean, modern, well-behaved Mumps code, provided you're writing new stuff from scratch without any legacy stuff to worry about.
Sep
26
revised Is MUMPS alive?
added 85 characters in body
Sep
26
answered Is MUMPS alive?
Sep
26
comment Is MUMPS alive?
Well you wouldn't write stuff that way with procedures. You'd use functions. See posting below (comments wont take new lines!)
Sep
25
comment Is MUMPS alive?
Phil (not Steve! :-) - I agree re Mumps as just a database. I've created a number of products such as M/DB that re-package Mumps as an HTTP-interfaced DB. Also see M/Wire which provides a Redis-like wire protocol for the DB. My next plan, as you know, is to front-end the Mumps DB (Cache and GT.M) with Node.js. Now that is going to be something special!
Sep
25
comment Is MUMPS alive?
Mumps has full lexical scoping of variables - it has done for years, but a lot of people don't seem to have noticed! Mumps code can be just as clean and well behaved as any other language. In fact Mumps has a great many similarities to Javascript in terms of variable scoping. eg New in Mumps is, in effect, the same as var in Javascript. By default, however, variables are globally scoped in both languages.
Sep
25
comment Is MUMPS alive?
Steve - see carlo-hamalainen.net/blog/?p=580
Sep
23
awarded  Teacher
Sep
23
awarded  Editor
Sep
23
revised Is MUMPS alive?
added 980 characters in body
Sep
23
answered Is MUMPS alive?