3 ms·
Modula-2 didn't had OOP as standard feature, although some compilers did use Modula-3 classes as extension, like XDS. Was this the case or something else? Alw
by pjmlp 2y ago
Modula-2 didn't had OOP as standard feature, although some compilers did use Modula-3 classes as extension, like XDS.
Was this the case or something else?
Always looking to improve my knowledge on Wirthian languages.
- junto 2y agoI think it’s more likely I’m misremembering. It is now over 30 years ago. Next on the list at university was C++, so more than likely my brain is deliberately blocking out that language. :-)
- emme 2y agoI started programming with Modula-2 and I really believe it was case sensitive. In fact I remember the book I used to learn it (Ogilvie) mentioning the case sensitiveness as a peculiarity of the language: "if case matters in natural languages, why programming languages should ignore it"
- pjmlp 2y agoIt is, as do all C derived languages. After Pascal, all languages that Niklaus Wirth created were case sensitive. Uppercase keywords are debatable as a style, however with good IDE tooling hardly an issue. Similarly to BASIC and SQL, or spaces in ML languages and Python, don't use Notepad like editors for them, use something with autoformatter. Pity that in Modula-2 case those products are long gone, and I doubt many would bother with a VSCode extension or something.