3 ms·
> Quite ugly to the eyes. The companion object makes things like loggers ugly. Skipping parentheses for method calls that take lambdas can be nice, but all it
by dehrmann 6y ago
> Quite ugly to the eyes.
The companion object makes things like loggers ugly. Skipping parentheses for method calls that take lambdas can be nice, but all it does is safe a pair of parentheses, it makes for inconsistent syntax, and is pretty ugly when the method takes an arg. The lack of implicit upcasting is weird. The set/get sugar is nice, but it looks ugly when it's next to places where it doesn't work.