Re: Info about the -Mdelphi mode

Marco van de Voort via fpc-pascal <[email protected]> Sat, 25 Apr 2026 19:57:21 +0200
Newsgroups gmane.comp.compilers.free-pascal.general
Message-ID <[email protected]>
Op 26-4-2026 om 01:46 schreef Warren Postma via fpc-pascal:
> Every modern language has inline variabler declarations because it was 
> always a thing in the one most of us care about.

Opinion based on extrapolating languages that directly or indirectly 
inherit from eachother.

> Not having inline variables means that our strongly typed language 
> Pascal doesn't have as precise a scoping of variables as possible, 
> preventing read access before initialization, which is a major smell 
> in the pascal language and compiler designs.

Contrary to original C , we can now use more than 32kb for compilers now 
and have static analysis to prevent this, should it be necessary.


_______________________________________________
fpc-pascal maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal