consequences of removing semicolons in D like in Python
Chris Wright via Digitalmars-d
digitalmars-d at puremagic.com
Fri Sep 16 22:03:17 PDT 2016
On Fri, 16 Sep 2016 23:00:08 +0000, 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?
It's more than reinterpreting newline as a semicolon. For instance, we'd
probably still want this to work:
someObject.someField.someLongMethodName(
arg1,
arg2,
arg3);
You might look into how javascript does it and what weirdness ensues as a
result.
More information about the Digitalmars-d
mailing list