4 ms·
What I find hard in modern Java (well more Scala in my case) is not so much that the language is big but that so many similar features means it's hard to see wh
by nivenkos 5y ago
What I find hard in modern Java (well more Scala in my case) is not so much that the language is big but that so many similar features means it's hard to see where things come in scope from.
Like in Scala it could be from a trait (and traits can define variables), or inheritance, or implicit values.
Compared to Rust or Go for example where I can read the docs for a struct, and easily see where the different parts come from (and follow those up if I want).
- lmilcin 5y agoThat's what happens when the language has "history". Of course when they design a new language they try to incorporate all the features that developers demand at the moment in a way that makes sense. But once the language is developed it is difficult to add new features seamlessly. The new features are necessarily impaired in some way by having to be compatible with existing environment. Rest assured, wait couple decades and the same will happen to Rust.