Ask HN: Java developers, are you using the primitives short or byte?
https://news.ycombinator.com/item?id=24659306I am a software developer with about three year experience (mostly JVM languages) and currently reading Code Complete 2.
Because of that I wondered why I never had a chance to use short or byte - or at least I never saw one. Of course I have learned about those, but during my professional time (circa 3.5 years and 4 projects) as a developer I believe to never have stumbled upon any usage.
I am just wondering whether they are or are not obsolete by now, because the performance gain seems to be not too extraordinary.