consequences of removing semicolons in D like in Python

Chris Wright via Digitalmars-d digitalmars-d at puremagic.com
Sat Sep 17 07:32:44 PDT 2016


On Sat, 17 Sep 2016 14:23:40 +0000, jmh530 wrote:

> On Saturday, 17 September 2016 at 02:21:54 UTC, Chris M. wrote:
>> On Friday, 16 September 2016 at 23:01:32 UTC, eugene wrote:
>>> On Friday, 16 September 2016 at 23:00:08 UTC, eugene wrote:
>>>> Hello everyone,
>>>> what if to remove semicolons at the end of each line of code in D
>>>> like in Python?
>>>> Is it worth it?
>>>
>>> i.e. simply use a newline sign as a line separator
>>
>> Pointless and not worth breaking everyone's code over
> 
> What if the OP wrote a compiler that turned his version of D sans
> semicolons into proper D code?

Someone did that with python-style syntax a while back, in the D1 days, 
though I forget the name of it.

Multiple syntaxes for the same language is kind of cool.


More information about the Digitalmars-d mailing list