consequences of removing semicolons in D like in Python

eugene via Digitalmars-d digitalmars-d at puremagic.com
Sat Sep 17 06:38:48 PDT 2016


On Saturday, 17 September 2016 at 13:33:49 UTC, Craig Dillabaugh 
wrote:
> On Saturday, 17 September 2016 at 13:18:24 UTC, eugene wrote:
>> On Saturday, 17 September 2016 at 13:11:50 UTC, Nick 
>> Sabalausky wrote:
>>> On 09/16/2016 07:00 PM, 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?
>>>
>>> Not worth it. Gripes about semicolons are a symptom of only 
>>> seeing the superficial and not really understanding enough 
>>> about languages to see what really is and isn't important. 
>>> It's like dumping someone because you don't like the color of 
>>> a dress they wore. Superficial, shallow, inconsequential 
>>> bikeshed bullcrap, not even worth debating.
>>
>> why?
>> groovy, for e.g., is ok without semicolons and with semicolons.
>> if there is a question of backward compatibility, is it 
>> possible to support semicolons?
>
> Can you give a strong technical argument why we should get rid 
> of the semicolons?  I personally quite like them, as do others, 
> so I don't think "I don't like the looks of them" is a strong 
> argument.  What would the language gain by losing the 
> semi-colons.

because a programmer will have a choice of writing or not 
semicolons, as one anyway presses "Enter" why not to use it as a 
line separator, and one who likes to type semicolons won't be 
confused if there is backward compatibility


More information about the Digitalmars-d mailing list