4 ms·
I wrote MUMPS for a system called COSTAR (this was in 1989 or 1990). It was truly a terrible language. From what I've tried hard to forget: Everything is abbr
by rwmj 11y ago
I wrote MUMPS for a system called COSTAR (this was in 1989 or 1990). It was truly a terrible language. From what I've tried hard to forget: Everything is abbreviated, single letter functions everywhere. The database is a giant persistent hash table, accessed through programming language variables, with no schema, types or type checking (keep in mind this is used to store medical data). Everthing is global. There's virtually no structure in the language, I think they had subroutines but IIRC there were no named parameters. Existing programs were just unreadable spaghetti.
Edit: Not Co-Star, but COSTAR:
https://en.wikipedia.org/wiki/Computer_Stored_Ambulatory_Record https://en.wikipedia.org/wiki/Computer_Stored_Ambulatory_Rec...
- briandear 11y agoYes, you can use just the first letter of a function name. It might as well support Morse Code for all the good that does in terms of readability. I wish I knew what MassGen was thinking when they thought that was a good idea. I shutter when I think of having to use that language for mission critical systems (or any system for that matter.)
- acveilleux 11y agoThey were thinking multi users on a few KB of RAM.
- SloopJon 11y agoKeep in mind that MUMPS started around the same time as Unix (a little before, actually), so the same motivation for naming commands like cp, mv, and rm was likely at play in allowing abbreviations: interactive use on remote terminals.
- ajross 11y agoThe whole development stack and runtime had to fit on a PDP-11/45. Contemporary assemblers and FORTRAN on comparable platforms were hardly better. COBOL required a much bigger machine. Pascal was still a slow toy from academia and C was in the future. Try not to judge quite so much.
- rwmj 11y agoSure .. on the other hand, it's not 1968 any longer, and we are talking about medical data, which if you get it wrong can have all sorts of life-changing/life-ending effects. It's probably time to think about removing such systems, if only from the point of view of patient safety.