4 ms·
>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
by cholantesh 10y ago
>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...
- premium-concern 10y agoYes 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.
- cholantesh 10y agoInteresting; thanks. F# and Scala are pretty high on my to-learn list.