consequences of removing semicolons in D like in Python

Chris via Digitalmars-d digitalmars-d at puremagic.com
Mon Sep 19 13:22:00 PDT 2016


On Monday, 19 September 2016 at 16:52:10 UTC, bpr wrote:
> On Saturday, 17 September 2016 at 16:43:13 UTC, Nick Sabalausky 
> wrote:
>> If semicolons are such a terrible drain, there's always JS and 
>> Python.
>
> For someone who likes D, Nim (http://www.nim-lang.org) would be 
> better a choice for a language at the same level with Python 
> like syntax. Changing D surface syntax is an obvious 
> non-starter.

Or Crystal

https://crystal-lang.org/

It's Ruby syntax with some of the nice features you'd find in D. 
It's only alpha at the moment and doesn't work on Windows.

The thing is that there is no way of telling how much D code 
would break (including the compiler), if semicolons were removed 
or optional. That's too big of a gamble for a purely aesthetic 
change.


More information about the Digitalmars-d mailing list