Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've had the same issue with Scala. It goes out of its way to provide every syntax convenience that has ever existed--pattern matching, custom string interpolation, literal syntax for tuples, optional parens on method calls--- and then requires Maps and Seqs to be created with syntax like

val shoppingList = Seq("catfish", "water", "tulips", "blue paint")



I personally like that about scala. If I decide an IndexedSeq is better than my original choice of List, it is just a rename, not a syntax change.




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

Search: