r/programming • • Feb 22 '15

Java Makes Programmers Want To Do Absolutely Anything Else With Their Time

http://www.forbes.com/sites/quora/2015/02/21/java-makes-programmers-want-to-do-absolutely-anything-else-with-their-time/
35 Upvotes

636 comments sorted by

View all comments

Show parent comments

26

u/unruly_mattress Feb 22 '15

MetaModelVibratorVisitorFactory

These kinds of strawmen make me feel like "I don't have to read another word this person writes."

How is that a strawman? My current project has a class EntityManagerProvider that creates an EntityManager through an EntityManagerFactory, and another one named EntityManagerProviderProvider that provides the previous. This is not even a joke. EntityManagerFactory is standard Java, around 10% of the Java classes I know are named Handler and it's never not been like it whenever I was reading Java code.

11

u/[deleted] Feb 22 '15

I must be on the other side of the Java planet

15

u/[deleted] Feb 22 '15 edited Feb 22 '15

Classes ending in 'er' are code smell IMHO. 'Beer' being a notable exception.

5

u/Commander_Crichton Feb 22 '15

and *Controller

5

u/[deleted] Feb 22 '15

Good point, let's call it LocusOfControl ;)

0

u/karlhungus Feb 23 '15

It's a strawman in that they're setting up an obviously fictitious MetaModelVibratorVisitorFactory an obviously bad example and knocking it down, to prove the point: "culture is one of mediocrity and bad taste". When to prove a point like that you need some kind of statistical analysis -- I think it'd be extremely difficult to prove that actually.

OTOH having lived your situation, I'm sorry.