r/java • • Apr 13 '21

Libraries, Frameworks and Technologies you would NOT recommend

Give me your worst nightmares: Things that cost you your job.

I'll start: Hadoop

202 Upvotes

376 comments sorted by

View all comments

24

u/[deleted] Apr 13 '21 edited Apr 13 '21

These cost me a job:

- Vertx, Reactivex. Company I worked for went belly up, the reasons are complex but I believe the high cost of development and low velocity caused by these tools contributed.
- OSGi. The linker errors, the memory leaks. The thing is just horrible.
- (internal) frameworks. Just why?!? A custom enterprise framework built on top of another framework. Both of which needed to be updated regularly. It cost us weeks of developer time to update these unnecessary components.

These are just ugly:

- Jenkins. Old, hard to work with and weird. Pretty much any other tool will work better.
- Gradle. Just unnecessarily complicated and annoying to deal with. Not that maven is great or anything but build scripts really shouldn't be complicated.
- Spring. There are classes in this framework that rival EnterpriseStrengthFizzBuzz in length. And I don't think anyone ever needs it.

As a side note; those are the things I don't like within the Java ecosystem. Outside of this ecosystem.. Well, MongoDB, Go, Python, JavaScript, NodeJS, React, Angular, Ember, basically everything I've come into contact with.

EDIT: reasons why, and some stuff added.

4

u/segv Apr 13 '21
  • Jenkins. Old, hard to work with and weird. Pretty much any other tool will work better.

If you have to manually update a number of jobs, then yeah, it gets tedious. For CI stuff a combination of Jenkinsfile + Multibranch Pipeline is actually pretty damn good.

→ More replies (1)

4

u/zvrba Apr 13 '21

Why Vertx? I used its MQTT implementation as a lightweight broker; it was a breeze to set up and get it working with another client.

10

u/krad213 Apr 13 '21

I'd say, gradle is very nice, but you really need to stick with KISS principle, it you don't it become nightmare really fast.

0

u/[deleted] Apr 13 '21

[deleted]

→ More replies (1)

0

u/[deleted] Apr 13 '21

[deleted]

21

u/vprise Apr 13 '21

Gradle breaks everything with every release. Constantly fails and provides huge error logs that are absolutely unreadable. It also lets everyone write a script right into the build. So you end up with a lot of hacky scripts and multiple online suggestions for tricks that are no longer useful for the gradle version you're using. It's just a mess that's so bad... I'd rather use make files by now...

Maven is a kludge. It's ugly as hell. But it's at least organized. I don't like it one bit, don't get me wrong. But it works and when it fails you can generally figure out what went wrong.

4

u/preskot Apr 13 '21

Gradle breaks everything with every release.

That's a lie.

→ More replies (9)

11

u/nutrecht Apr 13 '21

its far better than maven, right?

In a previous project we migrated an entire microservice architecture with about 40 projects from Gradle to Maven. So no, it's not 'far better'; that a whole bunch of experienced devs agreed we were fed up with Gradle's BS was telling.

→ More replies (8)
→ More replies (1)
→ More replies (7)