News for hackers. Stuff that matters.
Re:Such a Little Thing: The Semicolon in Rust by vidarh on Friday October 19, 2012 @08:27AM (#4673183)
For Ruby at least "heavily" is a big exaggeration. It is significant as a token separator and in cases where inserting a line break makes the expression up to the line break a valid expression in itself, in which case it is treated as one.

You pretty much only need to remember to separate tokens where lack of whitespace might create a different vald token, and ensure any expressions that you want to let span more than one line ends with something that expects following tokens to make a complete expression.

Personally I can live with that easily. I can not live with significant indentation, on the other hand...

Re:Such a Little Thing: The Semicolon in Rust by the_mitsuhiko on Friday October 19, 2012 @12:57PM (#4674357)
`foo()` and `foo ()` are different things in ruby, so are `foo[x]` and `foo [x]`. That is significant whitespace.