I've yet to see a MUMPS code base that would qualify as 'elegant', do you have any pointers?
I'd love to see how it should be done, the only things I've seen are examples of how things (any things!) really should not be done.
Re:The Mumps Programming Language
by raverbashing on Monday March 13, 2017 @07:26PM
(#13863536)
This mess makes perl look readable
Thanks for proving without a doubt that Mumps belongs in the trash can
You probably won't believe it but this is actually very clean MUMPS code. If that's the shining example then you now have a bit of a glimpse of what the bad stuff looks like.
I hope that wasn't meant sarcastically?
No, it wasn't.
Re:The Mumps Programming Language
by roywiggins on Monday March 13, 2017 @05:39PM
(#13862681)
I witnessed a DSL for querying a MUMPS database. It used MUMPS to parse a DSL, generating more MUMPS to then query the MUMPS db.
I'm not really criticizing because I'm not sure there's an elegant way to do it, but I fled screaming.
The fun part about Mumps is that it's basically Lisp's ugly sibling, without meaningful scoping rules. You can easily do lots of terrible things in Mumps, but those things are usually more straightforward than the terrible things you do in other languages. You can also do elegant things, though a little less straightforwardly.
My single biggest complaint about Mumps codebases is that they're usually old, which means they have shitty documentation. Not that new ones are necessarily any better, but at least there's a chance new things are written in Orgmode or something :)