this post was submitted on 25 Nov 2025
331 points (99.4% liked)
Programmer Humor
27506 readers
1518 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
it wasn't funny in any way, but J~~SHIT~~BOSS "microservice" (it was a jboss service with one microservice inside, in a kubernetes pod, with only one core, tell me about redundancy). Service classes with over 2000 lines of code, it shouldn't even be called spaghetti code, more like lasagna code, the pasta came in layers, separation of concerns was a mere suggestion, code was not thread safe (and it needed to be), but there was only 40 Ejbs for each "stateless" service inside de EAR, so number go up, code goes better.
I refactored it, it's now in the glorious quarkus 3.27, on virtual threads and java 21, not hyperbole, but 5x more throughput and you don't need 7 phds in italian cousine.
Edit: I also saw, in Angular, the infamous:
if (variable === true || variable === 'true' || variable === "true") {Why does it seem like Java is always the language with the worst code?
I mostly do local programs with c# or python so alot of your comment didn't make sense to me like quarks and ejbs but yeah it sounds horrible.
The most used language has the most of the worst code, quarkus is a new framework (and very good), ejbs are enterprise java beans (the worst thing ever made).
I think a lot of the code was written by a lot of people in a rush, very backend of the backend, but EXTREMELY needed. Java is hated (I hate it too), but the new things in it? It's amazing too (I only love the new stuff).
I'm thinking of diversifying, do you think Java or Javascript would be better?
What is your purpose?
Do you just want a job or do you want to program for fun? If you want backend, that'll be very different than frontend, do you want corporate or startup?
I didn't care about that, but I think java, for backend would be a first choice, as it has the biggest amount of "it just works with that".
I think scala is cool too, very modern and with A LOT of less boilerplate, all the JVM support, so it can work with almost anything in the backend, but for working for jobs, it's not very used.
I had a job as a software engineer at corporate job but got let go. Mostly I enjoy backend. I can do front end programming but am very bad at making pretty things. Like sketch something out for what you want for a interface I can program it, but ask me "just make an gui for users" and it will be like win-me quality of bad.
JavaScript might be more widely appliable. Java is good to learn, too. If you learn Java, you can also learn Kotlin which is a glorious language to work with.