2009
03.13

Semi-colon blues

I understand that this can be explained and rationalized in the context of describing the Delphi syntax, but I still think it’s stupid:

if myVar = 1 then
doSomethingButLookNoSemiColon
else
doSomethingButDontForgetTheSemiColon;

Of course, multi-line statements must be enclosed in a begin/end pair, but this semi-colon thing is a pain in the ass. I’ll take the C/C++/Objective-C/Java/JavaScript syntax over this any day.

No Comment.

Add Your Comment

You must be logged in to post a comment.