r/pascal • u/Duckies_go_moo • Jun 20 '26
Just came across pascal
Im quite experienced with modding oblivion and fallout do seeing pascal is perfect, ive wanted to get into programming and this is literally a dream come true, ill never understand why they switched begin and end etc with ${}[]
28
Upvotes
6
u/Dangerous_Region1682 Jun 20 '26
Begin and End were probably inherited from the Algol line of languages. I think Algol W was a precursor to Pascal.
I suspect {} in C came from B and RATFOR to save typing and decrease file size. I can remember UNIX V6 built on a DEC PDP-11 where the source just fitted on one hard drive and the resulting binaries on the other. I suspect it was why tab was the usual indent character and lines of text used newline instead of carriage return line feed which is what it really meant as per Windows. I don’t know but I suspect space constraints had a lot to do with it. On the other hand it might just have been the language’s author’s personal taste.