[fpc-devel] Semicolon before else

Matt Emson memson.lists at googlemail.com
Fri Jan 29 12:34:35 CET 2010


Stefan Kisdaroczi wrote:
> Am 29.01.2010 12:08, schrieb Marco van de Voort:
>   
>>
>> I don't really see a need for this. Some languages are terminator, some are
>> separator. We are also not Basic in that we try to disambiguate every
>> possible syntax.
>>
>> 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.



More information about the fpc-devel mailing list