2 ms·
This is entertaining. I learned Turbo Pascal in high school. What I like from watching it again: the aspect of structured programming. It’s quite refreshing t
by florians 1y ago
This is entertaining. I learned Turbo Pascal in high school.
What I like from watching it again: the aspect of structured programming.
It’s quite refreshing to see a language that doesn’t rely so much on brackets.
It even got away without syntax highlighting by using all uppercase REPEAT, BEGIN, END or capitalising function calls.
Thanks for sharing!
- ofrzeta 1y agoPeople tend to complain about excessive verbosity of some languages. However today with completion in every editor this should not be an issue, so why not use Pascal?
- schwartzworld 1y agoThe problem with verbosity isn’t writing the boilerplate. It’s adding to the mental overhead of reading it
- ofrzeta 1y agoI'll claim without proof that if you are used to the language the mental overhead of "begin" and "end" is not bigger than for { and }.
- virgil_disgr4ce 1y agoI also learned Turbo Pascal in high school, it's quite a trip returning to that time. I'm pretty sure that was the last year they taught Pascal at that school, and after that.... Java. Well, it was the 90s, I guess.
- bajsejohannes 1y agoCapitalization is ignored by the compiler. So you can call it REPEAT, repeat, rEpEaT and so on. Same for variable names, functions, etc.
- janc_ 1y agoWhich is something that can cause annoying bugs when 2 identifiers that are "obviously" different when you see them in CamelCase are interpreted as identical by the compiler…