Hacker News new | past | comments | ask | show | jobs | submit login

What about Pascal? Seems like a simple, block-based language with the same functionality as C. Apparently, the only complaint against it is that its users like to eat quiche.



"What about Pascal?"

The type system, and control flow structures, were more strict and allowed less "abuse" (flexibility) than C. Strings were fixed-length arrays of chars, which was also less flexible than strings in C. Also people felt the begin-end block syntax less fashionable than C's {}.

Take a look at: http://www.lysator.liu.se/c/bwk-on-pascal.html


BWK's rant on Pascal is about as relevant today as a critique of original C (no prototypes, types defaulting to int, etc.).

In other respects (e.g. strong type safety) Pascal's approach "won", depending on your perspective.


No unified standard across implementations, modern implementation dominated by a single vendor (Delphi) with an aging userbase and downward trend.

And when you dig into the details of Delphi, you'll find various compromises caused by competitive pressure pulling one direction, backward compatibility pulling in the other.


There is no particular benefit in switching from C to Pascal.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: