Differences between version 3 and previous revision of Modula2.
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 3 | Last edited on Saturday, September 13, 2003 2:17:31 am | by AristotlePagaltzis | Revert |
Older page: | version 2 | Last edited on Friday, September 12, 2003 8:31:24 pm | by GlynWebster | Revert |
@@ -1,5 +1,3 @@
-Modula2 is Nicholas
[Wirth
]'s attempt to do
a SystemsProgrammingLanguage right. Nicholas Wirth also wrote [Pascal]
, Modula-2 is its
more serious successor. It's safer than
[C], it prevents most buffer overruns;
though it feels more pedantic, you must code all type conversions explicitly and TYPE all KEYWORDS
in CAPITAL LETTERS
. Some WLUGer fondly remembers it like this:
+[Modula2
] is NicolasWirth
's attempt at
a SystemsProgrammingLanguage done
right, the
more serious successor to [Pascal]
. It lost popularity to [C] and TurboPascal in the early 80
's. TurboPascal had a very good, cheap compiler in DOS systems, and quickly evolved into a very similar language.
[C] was just there already on [Unix] systems, and [Modula2] lacked something resembling [C]'s preprocessor
, though in fact
it is probably a strong point that the language has built-
in syntax for everything the preprocessor is commonly used for in [C]
.
-''...a very fascist language they forced us to learn at CanterburyUniversity. It has very strict typing rules, but it does teach you structured programming, I suppose. ''
-
-Modula2 is good, but not used much anymore. Modula2 lost out to [C] and TurboPascal in a popularity race in the early 80's. TurboPascal had a very good, cheap compiler in DOS systems, and quickly evolved into a very similar language. [C] was just there already on [Unix] systems, and Modula-2 lacked anything like C's preprocessor.
+[Modula2] is much more strict than [C], so it can prevent many accidental buffer overflows, but also feels much more pedantic. All type conversions must be done explicitly and KEYWORDS must be WRITTEN in CAPITAL LETTERS. Some WLUGer fondly remembers it like this:
''...a very fascist language they forced us to learn at CanterburyUniversity. It has very strict typing rules, but it does teach you structured programming, I suppose. ''