It is in fact representative of the vast majority of code you use.
The fact that it wasn't immediately clear to you that a lot of your code DOES use this code is probably the strongest argument I could make.
It is in fact representative of the vast majority of code you use.
The fact that it wasn't immediately clear to you that a lot of your code DOES use this code is probably the strongest argument I could make.
C++ is the poster child for this. No one argues that C++ is a bad language just because the standard library is full of magic.
Scala's STDlib might be more powerful, more honest and more consistent, and also might be striving to be DRY for the implementors.
Personally, I feel that Scala's Collections goes overboard in hitting the above goals, and the resulting signatures are too verbose. And this increases the cognitive load for the subset of people that need to bother about it (performance tuners, architects, etc). But that's not a fault of the language per se.
Personally, I make it a habit to always read (or try to read, in this case) standard library source code that I'm depending on to be correct.