Lurker News
A quote by Kent Beck: I'm not a great programmer; I'm just a good programmer with great habits.

So what are the habits I should cultivate to be a great programmer or even a good one? What are the bad habits that I should drop?

Comments (183) 79 threads

Earlier comments
Spearchucker#
I've been doing this for 29 years, and I've learnt two useful things. The first is that anything you don't know can be learnt, and if this is your career, probably will be learnt.

The second is that the hardest won skill is getting things done. Whether you hate doing them, have done the thing 1M times before, are bored, or otherwise lack motivation. Applying yourself - really applying yourself only becomes possible when you have a reason to.

overgard#
They learn their tools really well. I can't tell you how many good professional programmers I know that are utterly handicapped in their speed because they navigate the code base in an inefficient way, can't rename things quickly, can't catch something with the debugger, etc. Once a lot of those inefficiencys are gone it makes more mental room to think about the problem without distractions.
exabrial#
Empathetic coding rather than "show off" coding. Basically rather than trying to impress the next person with the least amount of lines you can write with the most ridiculous variable names, use consistent formatting spacing naming logging and comments to explain your decision process.

Always remember code does not capture the decision process it only captures the outcome.

hultner#
Two core thoughts that have lead me throughout my professional career is:

How does what I do benefit the customer? What happens with this if I die tomorrow?
You can code the most elegant, clever and beautiful code in your pet projects but in a professional setting major importance lies in delivering values to the customer and writing code which can be handed over to be maintained by your successor.

Load more comments