In particular think how unwieldy those two separate arrays would become once you plug in all 300+ codes given the only thing maintaining association is their index.
It’s why associative arrays or data objects in other languages run circles around Java when it comes to code clarity. Maps/dictionary syntax is so painfully obtuse by comparison.
Just part of why I dislike Java more than I do C, and that’s saying something given my rabid distaste for how painfully and pointlessly cryptic C syntax is.
But when you spend almost a decade writing Ada, you get a different perspective on the topic.