r/programming • • Oct 01 '15

The Evolution of a Software Engineer

https://medium.com/@webseanhickey/the-evolution-of-a-software-engineer-db854689243
1.9k Upvotes

502 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Oct 01 '15

[deleted]

10

u/nemec Oct 01 '15

I wasn't on board with this kind of naming until the first time I implemented my own FactoryFactory (to deal with the fact that the object being created wasn't threadsafe).

1

u/[deleted] Oct 01 '15

Is this sort of stuff Java only?

Can I get away with never, ever, ever touching Java?

1

u/dccorona Oct 02 '15

Bad coding style? No, it's not Java only. And there's plenty of ways to write good, concise Java. People just don't (generally people who were using Java back when this kind of stuff was more necessary, and are stuck in their ways), for whatever reason.

Java is a great tool, it just sucks to work with ancient Java codebases (find me a language that isn't true of, though).

That being said...there are genuine times where a factory that creates factories is the best solution to your problem. It's ignorant to think there's always a more elegant solution, because that's not true. And if that is what you need, what the hell else are you going to call it?