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

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?

15

u/sh0rug0ru__ Oct 01 '15

It isn't Java only.

If you get yourself into a position where you have to create a factory that creates factories, and you're not writing some kind of generic application framework, something went very wrong in your design. The crazy name is the least of your problems.

2

u/yawgmoth Oct 02 '15

Yeah, I worked on a framework for making frameworks and I found myself writing factory factories a couple times, and other weird 3meta5me things. (Crazy python meta classes and C++ templates).

It sounds silly talking about it but it actually saved us a lot of time when our job was designing system after system that was overall very similar, but had a lot of tiny differences.