3 ms·
I see. Is it fair to say that most of the issues area related to jdk included libraries vs language features itself? I also find a lot of the included libraries
by unlikelytomato 3y ago
I see. Is it fair to say that most of the issues area related to jdk included libraries vs language features itself? I also find a lot of the included libraries to be cumbersome, but I see these syntax improvements to be a welcome change in contrast.
- riku_iki 3y ago> Is it fair to say that most of the issues area related to jdk included libraries vs language features itself? I think they all connected, for example with added lambdas they also added streams, so collections library now allows to do the same thing using old iterators or new streams APIs, and somehow those APIs are not compatible, it is not easy to produce stream from iterator.
- erik_seaberg 3y agoIterator is a very narrow API that needs to remain compatible with a lot of third party code, but streams rely on spliterators for concurrency. You can sort of get a stream from any collection (or a spliterator from any iterable and make a stream), but it will probably do all work sequentially.
- riku_iki 3y ago> but streams rely on spliterators for concurrency which I never seen anyone uses and it makes everything more complicated they probably should've have some ParallelStream interface