[fpc-devel] Semicolon before else

Mark Morgan Lloyd markMLl.fpc-devel at telemetry.co.uk
Fri Jan 29 13:30:14 CET 2010

Matt Emson wrote:
>>> It is just a risk without real benefit attached to it, so I'm against.
>> +1
> To Be brutally honest - +1 for me too. This is very much a solution in 
> search of a problem. If I were looking for any C/C++/C# style features 
> to be added to the language, I would look at the following in no 
> particular order of importance:
> 1) ++/-- operators
> 2) for loop
> 3) single character block statement (e.g., C braces, but maybe another 
> character..)
> I also like the idea of declaring variables part way through methods and 
> also the way Java/C# declare methods inline in the class.
> None of these I want badly enough to push for them.. indeed some may 
> already be implemented.

If we're talking about fundamental changes to the language, how about 
introducing start...finally...end as an alternative to 
try...finally...end so the type of block can be distinguished at the top 
rather than half way down?

Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

More information about the fpc-devel mailing list