by outside1234 · 5y ago · 0 comments
It was so fast to compile and so ergonomic compared to the alternatives.
Great stuff.
Looking back I believe Pascal was the perfect language to learn those two fundamental and tricky concepts. It felt aesthetically pleasing and struck just the right balance between the terse (and sometimes quirky) C and verbose COBOL.
When I coded up those graph algorithms in Pascal I felt “happy” in a way that can’t be explained and which I didn’t experience in C.
Sure you can emulate them with double pointer indirection, which is anyway what the compiler does, but it adds more cognitive overhead.