|
|
|
|
|
by to3m
3811 days ago
|
|
"How on earth did C win out over this?" - here's some guy's take on, if not exactly this question, matters that may be related: https://www.lysator.liu.se/c/bwk-on-pascal.html My own memory is similar - Pascal was just generally annoying to use, in various little ways, that added up over time. On the face of it, it seems like it should be a lot better than C, but in practice... it just wasn't. |
|
No closures, so global vars everywhere
No breaks in flow control, it's goto (deprecated) or nothing
Strongly typed, but arrays of different lengths are different types.
Casting types is not possible
A number of annoying order-of-code requirements
"and" and "or" have no guaranteed precedence or order of operation..(!)
Those are enough to make me want to hurl the compiler against a wall.