Hacker News new | ask | show | jobs
by anon-3988 332 days ago
Granted this was years ago when I was a noob. I could not figure it out. But these days I can simply do `cargo test`, `cargo run`, and `cargo add`. I looked up what fat jar is and found this: https://stackoverflow.com/a/36539885

Seriously? This XML reminds me of the issues that I had when I first started Java, what the hell does any of these mean (yes, yes, RTFM) but then I could also just use another language and be done with it?

2 comments

Fun fact - cargo, npm and other package managers for programming languages were inspired by java maven.

Java is still using maven architecture (even if you use gradle to interact with them).

I'd argue Java was the first language to get dependency management right - you have 1 place you put all your dependencies - globally uniquely identified and versioned, downloading and building them is automated. It's especially jarring when you compare to the chaos in C++ land.

Again, that's why you should have a look. You're badly misinformed. No need for XML or maven. You can just run ./gradlew test and stuff like that.