2 ms·
The issue is that the solution to errors like these is often not adding a semicolon, but something else like “the compiler has no idea what is going on in this
by saagarjha 7y ago
The issue is that the solution to errors like these is often not adding a semicolon, but something else like “the compiler has no idea what is going on in this line” and the actual problem can range from something like an unbalanced delimiter, a misspelled keyword, or even a “syntactically valid-looking” (that a stupid parser, like a code highlighter or formatter, would approve of) but ultimately subtly illegal construct. With practice is usually becomes fairly easy to figure out where the actual error is, but it’s certainly not a very good experience for beginners. (And they’ll “come to hate it” because they’ll see it more than a few times before understanding how to deal with them.)
- dottedmag 7y agoPascal grammar is sufficiently different from C-alikes, so it might explain why for Pascal source code these messages are more meaningful.