[fpc-devel] Declare variables inside the code

Marco van de Voort marcov at stack.nl
Wed May 11 09:30:21 CEST 2011


In our previous episode, Joerg Schuelke said:
> The reason for C++ to say a declaration is a statement is coding
> security.

I always thought the main reason was because C did it that way, and C++ is C
backwards compat.

And C did it because it wanted to save stack space in the minis of the early
seventies. The rest is IMHO revisionism.




More information about the fpc-devel mailing list