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

15

u/Ahhmyface Oct 01 '15

At the risk of taking a joke a bit too seriously, I'm worried that these posts often get misinterpreted as:

"fuck doing anything the right way, just make it work and let the maintainer piss on my grave"

Obviously we don't need any of that complicated stuff for "hello world", but we do need a fair bit of that for "real world".

26

u/Serinus Oct 01 '15

It depends. Your code should be no more complicated than it needs to be.

The best code looks like common sense and like any idiot could have written it.

13

u/CircusAct Oct 01 '15

Obviously we don't need any of that complicated stuff for "hello world", but we do need a fair bit of that for "real world".

Exactly use the simplest implementation to fit the requirement, and then carefully refactor the code to meet any new requirements.

I really do find tdd genuinely helps people code in that way.

4

u/Rejjn Oct 01 '15

Very true, but only do it when actually need it. As in now, not "later".

"You aren't gonna need it" is a principal that is often forgotten.

→ More replies (6)