3 ms·
End of line is already encoded in source files as \n. Redundancy isn't noise, but it is redundant.
by pekk 14y ago
End of line is already encoded in source files as \n. Redundancy isn't noise, but it is redundant.
- seanmcdirmid 14y agoIf end of line always means end of statement, by all means get rid of semi colons. If some non-trivial algorithms is used to infer end-of-statement boundaries that is more complicated than detecting end-of-line, then...there will be subtle problems. I went through this transition before in Scala, the error messages got a lot worse after semi-colon inference was added. I wound up telling people to add semi-colons to their code when they were scratching their head at some sort of parse/type error message.