Hacker News new | ask | show | jobs
by mindcrime 5075 days ago
Who on earth thought deeply nested directories for packages was a good idea?

FWIW, if I were listing "things to criticize Java for", I can't imagine that the package mechanism would be anywhere near the top 25, top 50, or even top 100. Unless you're routinely navigating around that structure using command line tools (which I suppose some Java developers do), I don't see the problem. Pretty much any modern IDE makes it nearly painless to navigate around the source code.

2 comments

I use the command line for everything, including java projects. I usually just create symbolic links: ln -s src/main/java/net/minecraft/workbench/ source
I routinely navigate by command line.

But yes, Java's packaging is mostly a good thing.