Y
Hacker News
new
|
ask
|
show
|
jobs
by
fouc
2639 days ago
can you drop the need for the : at the end of the line if there's a newline? i.e. it seems like unnecessary syntax
1 comments
Aardappel
2639 days ago
That would make it much harder to parse in certain cases, both for the compiler and the human, given that it uses this same syntax to parse not just control structures, but also higher order functions / lambdas.
link
fouc
2636 days ago
I like how ruby does it
link