why ; ?

Koroskin Denis 2korden at gmail.com
Mon May 5 08:48:41 PDT 2008


On Mon, 05 May 2008 12:13:48 +0400, Tomasz Sowinski <tomeksowi at gmail.com>  
wrote:

> Just another feature thought. Never gonna happen, but still...
>
> What's the reason of having lines end with a semicolon? Anything else  
> than a legacy issue with C/C++?
>
> The only thing I can think of is having multiple statements in one line,  
> but that only makes code unreadable. Wouldn't getting rid of ; improve  
> readability?
>
>
> Tomek

Although Javascript has a C-style syntax, it doesn't force you to use  
semicolon.
 From my experience, the code doesn't get any readability improvements that  
way.



More information about the Digitalmars-d mailing list