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

That was my position before I discovered Scala - stronger type safety than Java, more concise/clear/expressive than Python.


I respect the design descisions that Scala made, but I don't find the syntax to be very clear or intuitive.


A lot of Python corresponds 1:1, IME. The biggest difference I notice is the _ shortcut, which I wish Python would adopt - "_ + 1" is so much shorter than "lambda x: x + 1" and no less clear. (And you can always use the "{x => x + 1}" style if you want).

Oh, and I guess the constructor syntax, which again I wish Python would adopt. I end up with too many "self.x = x" lines in my Python __init__ methods; pure syntactic ceremony.




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

Search: