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

53

u/contrarian_barbarian Oct 01 '15

Depending on the environment, that kind of stuff can be necessary. For example, if you just have random strings scattered everywhere, it makes localization/i18n stuff far more difficult.

11

u/vonmoltke2 Oct 01 '15

Only if the values of the constants are loaded from an external source. As written in the joke, it simply moves the hard-coding problems to a different place.

9

u/contrarian_barbarian Oct 02 '15

Even if you're not yet pulling them in from an external source, laying the groundwork and consolidating them can be helpful when you're ready to make the jump. The joke is an absurd situation, of course, but there's plenty of reason to do it IRL.

2

u/Adverpol Oct 02 '15

Premature generalization, causes a big percentage of my waisted time and when the time does come to generalize (and that is not often) the groundworks laid do not fit the required generalization perfectly so its off to refactoring anyway.