News for hackers. Stuff that matters.
Re:About PayPal's Node vs Java “fight” by olavgg on Friday December 13, 2013 @06:50PM (#6903590)
Any language today that still requires to mark end of line with a semi colon, has in my opinion outdated syntax. Most people put one statement per line, so why is it required and not optional?
Re:About PayPal's Node vs Java “fight” by katbyte on Saturday December 14, 2013 @12:46AM (#6904798)
just guessing but if all statements are terminated with a ; instead of a newline it allows statements to be split up into multiple lines?
Re:About PayPal's Node vs Java “fight” by devdas on Friday December 13, 2013 @07:15PM (#6903724)
What about the counter case of one statement needing more than one line?
Re:About PayPal's Node vs Java “fight” by hhw on Saturday December 14, 2013 @07:59AM (#6905569)
1) Line length is arbitrary, and there is no finite limit 2) You can have an escape sequence for a new line

With that said, I disagree that having to mark the end of a statement with a semi-colon is obsolete syntax. Statements and lines should not have to be 1-to-1, even if most code is written as such.