Y
Hacker News
new
|
ask
|
show
|
jobs
by
codebolt
2115 days ago
Even then they fumbled the execution. Why on earth would they make streams without support for native types?
1 comments
pjmlp
2115 days ago
Like this one?
https://docs.oracle.com/javase/8/docs/api/java/util/stream/I...
link
codebolt
2115 days ago
Yes, but that seems like a clunky add-on. Something as basic as iterating the characters in a string should not require special constructs like this IMO.
link
chrisseaton
2115 days ago
How would you have implemented it, while satisfying their constraints of extreme backward-compatibility?
link
https://docs.oracle.com/javase/8/docs/api/java/util/stream/I...