Modula was meant to be a learning language to replace
, but it never really caught on, most likely
because of lack of a good
compiler, especially with Borland
's excellent pascal compiler of the day.
Modula is one of the few languages where incorrect
indention of a control structure is a syntax error.
I haven't decided if this is good or not. Should the
grader take off points for that, or should it fail to compile? Hmmm...
Someone said that Modula doesn't have an indentation check;
however, the compilers made available to us for class considered incorrect
indentation to be a syntax error. I still haven't decided which grosses me out more--compiler enforced indention, or totally left justified C code.