r/ProgrammerHumor • • Jun 12 '25 • This 3

Meme andJavascriptForWeb

Post image
7.9k Upvotes

270 comments sorted by

View all comments

1.1k

u/skwyckl Jun 12 '25

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

480

u/Informal_Branch1065 Jun 12 '25

"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()!"

62

u/-Kerrigan- Jun 12 '25

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

5

u/evanc1411 Jun 12 '25

Microsoft Java tastes better.

22

u/Fadamaka Jun 12 '25

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

29

u/-Kerrigan- Jun 12 '25 edited Jun 12 '25

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

IFoodBuilderFactory <- here's the Hungarian notation.

I enumerated a list

→ More replies (9)

3

u/BurritoSupreeeme Jun 12 '25

Fit() is a constructor is guess

1

u/-Kerrigan- Jun 12 '25

You may be right, somehow I missed the new there

2

u/xMoop Jun 12 '25

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.

1

u/Grumbledwarfskin Jun 12 '25

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.