Hacker News new | past | comments | ask | show | jobs | submit login

>c/java style syntax is showing it's age compared to something like scala which has return type declarations at the end, which I find much more readable

I hope there are better examples of Scala's syntactical advantages than this one, because it seems like the 'egyptian-style' vs 'next line style' brace bracket debate...




Yes there are plenty. The correct order of type declarations just ties in with the better syntax for generics and leads to an easier to read, more consistent language.


Interesting; thanks. F# and Scala are pretty high on my to-learn list.




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: