4 ms·
"Hardware is cheap, programmers are expensive." Mediocre programmers are expensive. Good programmers are the bargain of the century. If companies would just
by edw519 17y ago
"Hardware is cheap, programmers are expensive."
Mediocre programmers are expensive.
Good programmers are the bargain of the century.
If companies would just wise up enough to pay a good programmer 3 times as much as a mediocre programmer to do 10 times the work, do it right, and do it so that it can be maintained reasonably, Jeff Atwood's tradeoff would become moot. But companies generally don't do this, which is probably one of the main reasons the best programmers go off and do their own.
- vaksel 17y agowhat separates a good programmer from a mediocre one?
- thras 17y agoThe same thing that separates a good plumber from a mediocre plumber.
- edw519 17y agoGreat question. Ask it to n programmers and get n^2 responses. This could easily be the subject for another post or even a book. Just off the top of my head in no particular order: - understands the problem at hand before writing any code - uses the right tool for the right job - follows accepted standards and protocols without sacrificing creativity - names variables & functions what they actually are for the next programmer - anticipates what could go wrong before relying on a debugger or testing - understands the underlying architecture and how to best utilitze it - never writes the same code twice - never writes in 150 lines that which could be written in 100 lines - Poor code: uncommented. Mediocre: commented. Good: doesn't need comments. - understands the entire code life cycle & writes it to last - has pity on the poor soul who has to maintain it & leaves a clue or 2 - writes flexibly enough to be easily changed before the project is done I could go on and on, but you get the idea. In general... A good programmer writes it right, once, in a week. A mediocre programmer writes it OK, in 2 months, and then futzes with it forever. A bad programmer never gets it done.
- j_baker 17y ago> never writes in 150 lines that which could be written in 100 lines I'd disagree on this one. Oftentimes the 100 lines of code is an unintelligible mess while the 150 lines isn't.
- azanar 17y agoI agree with a vast majority of this, except for the qualification of time. There are many brands of mediocre programmer, some of which would claim a finished product well before the good programmer. But, the code will prove a nigh-unmaintainable disaster that will required all sorts of time later when a new feature is requested or bugs start creeping out. There are times when a good programmer will take considerably longer than a bad programmer, and might spend time futzing around with different implementations, moving code around, creating various data structures, etc. Depending on the task, I would argue that can be a good thing. The good programmer is attempting to understand and present a clear conceptual model of the problem and solution in his code; the mediocre programmer might just create a litany of special cases for the cases specified right now just so they can get that particular program behind them. Although the mediocre programmer might produce code faster, I would argue the good programmer is still 10x more productive, because he has done that much more thinking than the mediocre programmer. Perhaps when you refer to futzing, you mean changing the code just for the sake of another commit to show management, where nothing is learned and nothing is improved. Also, a good programmer might come back two months from now, with the knowledge he gained from some other project, and make a change to the program that tangibly improves it for the better. The mediocre programmer will have put all that behind them; it is not on their list of projects and requirements, therefore they won't bother, nor will they bother even mention it to anyone. But, I suspect this sort of comparison of timespans varies with size, and with the difficulty of the problem space. And yeah, N^2 different answers. :-)
- moe 17y agoThere's a rather simple metric actually: A good programmers stuff works. You don't have to go back and fix it, you don't have to rewrite large parts of it to extend it. One day I want to write a VCS history analyzer to quantify these things. Svn blame ($yourtool annotate) works to an extend, but there's a lot of untapped potential in that data.
- lionhearted 17y ago100% agreement, yet: > If companies would just wise up enough to pay a good programmer 3 times as much as a mediocre programmer to do 10 times the work... Very few people have such a good eye for talent. It's really, really hard to do. Jack Welch, one of the better HR people of all time, said his hiring success rate was only 2 out of 3 hires working out even towards the end of his tenure. It's really hard to identify good people, know how they'll change and adapt over time, create a good environment for them, and so on. Vastly under ratedly hard. One of the reasons good people are underpaid is that it's often quite hard to tell them apart from "just okay" people. People are bad at picking talent - they mistake overconfidence and gregariousness for ability, they put put premiums on likability and agreeableness, they look for people who "look like a winner" when that only maybe slightly correlates... hard stuff. Companies whose managers have technical backgrounds have a better chance, but it's still quite a difficult challenge.
- edw519 17y ago"Very few people have such a good eye for talent." That's OK because it's not necessary. Management doesn't need an eye for talent. It needs an eye for demonstrated performance. If Programmer A consistently delivers excellent software in x% of the time of Programmers B thru G, the users/customers love it, and the maintenance costs are a small % (if they have a way of measuring this), then what the f*&#%@ else does management need to know? Treat Programmer A appropriately or lose him/her. Talent is in the eye of the beholder. Demonstrated performance is on the bottom line.
- marcusbooster 17y agoDemonstrated performance on what? A padded resume? A minimal contribution to a well known large project? Or is your ideal company one that hires 100 programmers to perform the same task and then fire the bottom 95% after a code review? You're assuming the company has already hired all-star talent (accidentally?) and just needs to pay off their demands. What happens when this all-star leaves to balloon across the world - how do you find a replacement?
- 17y ago