4 ms·
Pascal on a micro was basically useless unless you were playing with algorithms copied from a book. Because it's a language written by people that only worked o
by Gibbon1 4y ago
Pascal on a micro was basically useless unless you were playing with algorithms copied from a book. Because it's a language written by people that only worked on mainframes connected to dumb terminals.
Want to write the string 'fat dog' on line 12 column 10? With Pascal you'd have to write a routine in assembly and call it. With C you use a trivial macro. Pascal was also generally very very slow. Almost as slow as basic which had better strings than Pascal.
- klodolph 4y ago“Pascal was slow” is a complaint about the compilers at the time, which is just reiterating my point. Anyway, if you wanted to draw something on the screen, just, MoveTo(10, 12); DrawString('fat dog'); You could do worse.
- pjmlp 4y agoEven 8 bit Pascal compilers for ZX Spectrum were better than that. Anyway, Pascal was designed for teaching, and Modula-2 was designed for production code and systems programming. UCSD Pascal, and Object Pascal also took many of their ideas from Modula-2.