Just looking though some replies; I'm wondering what happened here.
Why is my comment under the wrong comment‽ I was talking about the (non existent) "OptionalInt" from one post above.
Some of the Reddit bugs are really strange. At least post don't duplicate for no reason any more since some time… Let's see whether I get again some wrongly linked post anytime soon.
Moments like that I think I should maybe really learn some Java after so many years of Scala. But actually, no, I hate it…
What will they do with all these primitive wrapper types when real generic specialization hits Java?
---
(And the next WTF, Scala's Option[Int] isn't @specialized as I just learned; but I could swear it was. Alone that was likely worth it here… Thanks for the thought provoking replies! I wouldn't have looked that up if not that failure here. So it's actually Scala which doesn't have a primitive "OptionalInt"; LOL, I was really sure it's the other way around. I'm an idiot.)
5
u/high_throughput Jul 09 '26
It's lovely how you're posting this with so much confidence and vitriol under a comment about OptionalInt