3 ms·
I respect the design descisions that Scala made, but I don't find the syntax to be very clear or intuitive.
by keypusher 12y ago
I respect the design descisions that Scala made, but I don't find the syntax to be very clear or intuitive.
- lmm 12y agoA 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.