it is past time to update FreePascal ---
even if that means we abandon backward compatibility.
for a start
1. replace begin..end with curly brackets
2. semicolon as statement terminator
Excellent suggestions!
I wonder why no one else ever thought of this...
Maybe we can get completely rid of the block markers.
Let me think... maybe... work with indentation... every indentation is a new block by default...
And maybe to make the language a bit more beginner-friendly, label each line.
Maybe even force the use of line numbers, so we can refer to them when calling a function.
And while we are at it, maybe also make the language name shorter. Free pascal is way too long. It's 2020 FHS...
Can't we introduce a more BASIC name? P perhaps?
And what about all these confusing variable declarations at the beginning of functions.
Every time I want to introduce a new variable in a function I have to scroll up 15 pages.
Can't we make them dynamically typed? And introduce, it was already mentioned, garbage collection?
And the procedures and functions... OMG... please harmonize them... who in the world uses procedures anyways?