On Friday, 16 September 2016 at 23:00:08 UTC, eugene wrote:
what if to remove semicolons at the end of each line of code in
D like in Python?
Is it worth it?
If you write JS in a professional environment, you will almost
certainly be required to terminate every line with a semicolon
because it's too easy to write code that behaves in unexpected
ways otherwise. If you spend enough time writing Python, you will
start to run into cases where meaningful whitespace makes it
difficult to write readable, functional code.
Omitting semicolons satisfies a small handful of programmers who
don't like having them all over the place, sure, but it alienates
everyone who takes development seriously enough that the
ambiguity becomes a hinderance.