News for hackers. Stuff that matters.
Re:Java Is Underhyped by fian on Friday April 16, 2021 @08:29AM (#26833040)
Guess I'm nobody. I created a simple Swing (desktop) app in Java a couple of weeks ago. The process was something like:

Create new Java project in IDE Add no dependencies Use the built in IDE tooling to create a runnable JAR and tick the box to export the Ant build to a build.xml file.

Why would I want to complicate things by adding Maven/Gradle to the mix?

Re:Java Is Underhyped by lolive on Friday April 16, 2021 @08:55AM (#26833281)
I will give you the secret trick of senior developers: don't be the one who manages the build process, otherwise leave the project asap.

And I will also give you the secret trick of superninja senior developpers: be the one who manages the build process, so you will never EVER be fired.

Re:Java Is Underhyped by stepbeek on Friday April 16, 2021 @10:41AM (#26834453)
The complexity of maven is well understood and battle tested. The complexity of a custom build is not. In my opinion it is of a far more concerning sort of complexity.
Re:Java Is Underhyped by fian on Friday April 16, 2021 @11:01AM (#26834736)
It's an Ant build file - nothing complex at all. If you no or few dependencies and are comfortable managing them manually, Ant is fine.

Non-networked applications don't tend to need to be so paranoid about keeping up to date with the latest versions of dependencies.

Re:Java Is Underhyped by stepbeek on Monday April 19, 2021 @08:31AM (#26861991)
We're probably optimizing for different things. I'm normally optimizing for easy onboarding of someone new. If this is a personal project with few dependencies then ant is probably good enough.
Re:Java Is Underhyped by oblio on Friday April 16, 2021 @10:40AM (#26834442)
And what if you want/need to add dependencies? A lot of them.
Re:Java Is Underhyped by fian on Friday April 16, 2021 @10:50AM (#26834575)
Sure _then_ you might opt to use Maven or Gradle.

My point is there are a wide variety of application types out there, not everything is a web application, not everything needs to use a complex build and dependency management system.

Re:Java Is Underhyped by oblio on Friday April 16, 2021 @01:17PM (#26836604)
Yeah, but if you do know Maven, it scales down to small projects. The configuration for a simple project is trivial.

So just use Maven and save anyone coming after you a bunch of trouble when they have to extend your project ;-)

Re:Java Is Underhyped by isbvhodnvemrwvn on Friday April 16, 2021 @10:31AM (#26834342)
This method is useless for most projects, so yes, you are nobody.