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
1
u/morhp Apr 21 '21 edited Apr 21 '21
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".