On Saturday, 17 September 2016 at 05:03:17 UTC, Chris Wright
wrote:
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.
Yup. Every time I write multiline expression in JS, I get
uncomfortable thinking whether the browser will interpret as I
think or not.