News for hackers. Stuff that matters.
Re:Dart language by secoif on Monday October 10, 2011 @04:39AM (#3092878)
Programmers care about it because it adds extra noise to your program.

If you semantically, and naturally, communicate "end of statement" with a line break to human readers, why should you have to say it again with a semicolon to the compiler? Programming languages should focus on being DRY.

Re:Dart language by surrealize on Monday October 10, 2011 @04:59AM (#3092944)
For human readers we use periods, not line breaks.
Re:Dart language by sambeau on Monday October 10, 2011 @06:24AM (#3093134)
Code is more like poetry.
Re:Dart language by sambeau on Monday October 10, 2011 @07:52AM (#3093364)
That was not a flippant remark.

Lines of code are clauses not sentences. This is also true of poetry.

A sentence is more akin to a stanza in poetry, and a function in code.

While I could entertain an argument for lines ending in commas and for functions to end with periods there is no reasonable argument for lines to end with periods (is there a language where a line is equal to a function?).

APL, and to some degree Perl, are examples of languages where to you might consider a period half-way through a line.

Re:Dart language by secoif on Monday October 10, 2011 @07:57AM (#3093374)
The context is programming, not writing.
Re:Dart language by j-kidd on Monday October 10, 2011 @07:22AM (#3093277)
Semicolon makes it possible to do jQuery-style chaining with the least noise. I think frequent-backslash is uglier than always-semicolon.
Re:Dart language by gf3 on Monday October 10, 2011 @09:51PM (#3096720)
Semi-colons do not enable this feature. Multi-line chaining works just fine sans-semis.
Re:Dart language by methodin on Monday October 10, 2011 @07:23AM (#3093281)
I very often use and see "single" line of code flow onto more than one line for readability. So often a line break is definitely not enough.
Re:Dart language by secoif on Monday October 10, 2011 @08:00AM (#3093381)
I wasn't suggesting exclusive use of linebreak… Semicolon with no linebreak is fine, but semicolon + linebreak is 100% additional cruft. One or the other. Say it once.