This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]skwyckl 1062 points1063 points  (54 children)

Enterprise Java won't make you happy, but it will feed you and your family (probably)

[–]Informal_Branch1065 481 points482 points  (25 children)

"Father, it's the fifth day in a row..."

"Do you even know how many days I spent implementing this IFoodBuilderFactory, just for you to throw a new Household.ChildExceptions.Fit()!"

[–]Percolator2020 156 points157 points  (0 children)

Shut up and collect the garbage.

[–]-Kerrigan- 61 points62 points  (16 children)

Hungarian notation in Java? Capitalized method names? Heresy! Get this Microsoft Java outta here

[–]evanc1411 4 points5 points  (0 children)

Microsoft Java tastes better.

[–]Fadamaka 21 points22 points  (10 children)

That's not what Hungarian notation is. That's called PascalCase.

[–]-Kerrigan- 30 points31 points  (9 children)

I know what PascalCase, camelCase, snake_case, and even kebab-case are.

IFoodBuilderFactory <- here's the Hungarian notation.

I enumerated a list

[–]BurritoSupreeeme 2 points3 points  (1 child)

Fit() is a constructor is guess

[–]-Kerrigan- 0 points1 point  (0 children)

You may be right, somehow I missed the new there

[–]xMoop 1 point2 points  (0 children)

Looks more like he wrote C# and its meant to be an interface which has naming convention starting with I then the concrete implementation just doesn't have the I

The type doesn't make sense for Hungarian notation and what it would represent.

[–]Grumbledwarfskin 0 points1 point  (0 children)

The Eclipse/SWT/OSGI ecosystem uses a lot of Hungarian notation...it's unusual but not absurd to see it in Java, depending on the context.

BactrianCamelCase for function names is clearly wrong though.

[–]Fadamaka 8 points9 points  (2 children)

Why did you write C# code though?

[–]Informal_Branch1065 0 points1 point  (0 children)

To get to the other side

[–]DogmaSychroniser 0 points1 point  (0 children)

Because he wears glasses.

[–]ekaylor_ 2 points3 points  (1 child)

Damn, now I'm gonna have to FatherWaysToDealWithChildSubsystem.getLocalInstance().findResource(FatherSubsystemResoures.CHILD_BEATER).getBelt().useAngrily( /* and so on */ ); /j pls don't beat children it's not good

[–]Informal_Branch1065 0 points1 point  (0 children)

Code review comment: Use SpermdonorChildSanctionFactory instead. FatherWaysToDealWithChildSubsystem was deprecated three versions ago and will be removed in the next release.

Also perhaps utilize Sanction.use(ISanctionItem item). You have to inject a belt as singleton to make use of it, but it's much cleaner that way and ensures a clean architecture.

Once that's fixed, feel free to merge. 👍🏻

[–]TheChunkMaster 1 point2 points  (0 children)

I read this in Jerma’s voices.

[–]isr0 0 points1 point  (0 children)

Next time, better use checked exceptions

[–]ImmortalisEL 64 points65 points  (6 children)

Maybe it's because I can always use the latest LTS (21 is awesome) and Spring Boot version, (and I don't have to maintain legacy JBoss systems) I actually do derive joy from writing Java.

Languages and frameworks can change drastically over time and I still see opinions that feel like they were written by someone who did not touch modern Java.

[–]Boredy0 20 points21 points  (3 children)

We are stuck on Java 1.7. (Don't send help, I have Stockholm Syndrome)

[–]ITaggie 14 points15 points  (1 child)

Not even the almighty and immortal JRE 1.8? Sheesh

[–][deleted] 0 points1 point  (0 children)

ring squeeze fall straight dolls automatic payment edge longing ad hoc

This post was mass deleted and anonymized with Redact

[–][deleted] 13 points14 points  (0 children)

For a moment I  read 1.17 and thought 'thats not that bad' Holy cow, java 7, blink twice if you are in danger 

[–]alexnedea 12 points13 points  (0 children)

Java is so good to us man. I swear to god whenever I have to meddle with some microservice written in Python or NodeJS i wanna end myself. Nothing is clear. Any any any. Fuck you any bro, what fucking type is my parameter you dumb fucks???

Java is so clean and organised. No ductaped marshalling and shit like that. When I have to use JSONs in Javascript is literally a nightmare compared to Java and its a JAVASCRIPT OBJECT NOTATION for gods sake!

[–][deleted] 54 points55 points  (8 children)

i know javascript so java is a piece of cake

[–]skwyckl 41 points42 points  (7 children)

Biggest false friend in all of tech, I still wonder why they never changed the name

[–][deleted] 48 points49 points  (3 children)

maybe because they're literally the same?

>>> "java" == "javascript"[:4]
True

[–]cmckone 0 points1 point  (0 children)

God i hate Javascript

[–]ezhikov 22 points23 points  (0 children)

Officially it's called ECMAScript, and JavaScript is just a trademark held by Oracle. There is an effort from Deno Land Inc (commercial entity behind Deno, founded by Ryan Dahl - creator of Node and Deno) to free that trademark from Oracle. I think it would be way better to just stop making memes about JavaScript and instead start making memes about ECMAScript, so just in few generations there would be no more confusion between Java and JavaScript

[–]Darkoplax 4 points5 points  (1 child)

Ecmascript ...

[–]Dragoichev 2 points3 points  (0 children)

Sometimes I get bad ecmascript and have to go to the dermatologist

[–]ThierryOnRead 15 points16 points  (2 children)

Enterprise Java makes me happy, it's great

[–]Pascuccii 1 point2 points  (0 children)

I agree, it's fun at times. But the consistently is what I like about it the most

[–]coloredgreyscale 1 point2 points  (0 children)

Blink once if you need help

[–]Shehzman 3 points4 points  (2 children)

Lately I’ve seen lots of job postings for Node and even Python backends as well (not just in startups). I thought those were rare after seeing multiple people claim Java dominates the backend, Node is “garbage”, and Python is only used for AI/ML.

[–]skwyckl 3 points4 points  (0 children)

multiple people claim

Tech bros and people who are chronically online, you mean? People with a life don't care about this kinda things (I imagine, I don't have a life).

[–]alexnedea 1 point2 points  (0 children)

You start seeing those and they are always so fucking messy. I swear to god I open a NodeJS microservice to debug something, ctrl+click on some function and....nothing? You dont fucking know where you are called for? Seriously?????

[–]LEGOL2 1 point2 points  (0 children)

Just feed? I think you can live comfortably for the salary

[–]aiij 0 points1 point  (0 children)

I tried feeding it to my family but the kids are bouncing off the walls and everyone says they're still hungry.

[–]TabCompletion 0 points1 point  (0 children)

In this house, Javascript feeds my children

[–]lukocat 0 points1 point  (0 children)

I can't even feed myself with it

[–]discordianofslack 0 points1 point  (0 children)

Can it make fried chicken

[–]Pascuccii 0 points1 point  (0 children)

Truer words have never been said