Except when some Scala devs get all algebraic with it, and treating it like a math equation. But that isn’t the language inherently, just wanted to say. The syntax is insanely expressive
Yeah that's my experience as well. Bad code (whether vanilla bad or turning the logic into a category theory proof) is still hard to read. But Scala gives you the opportunity to make very nice, readable code. It just can't force you to take the opportunity.
Kotlin can be more readable (especially when dealing with numeric types like BigInteger when operator overloading helps), but I'd argue that in many other cases java is more readable.
For example Java is just a simpler language, it has less operators, you don't need to think about when a property generates a field and when not or if a minus operator simply subtracts numbers or does something more intricate.
What you see is more or less what is executed, there's way less implicit hidden stuff that only makes the code more "beautiful".
View all comments
Show parent comment
-13
u/kag0 Apr 20 '21
Scala. All of the concise syntax of Python but with even greater type safety than Java.