Top 5 Attributes of Highly Effective Programmers

What attributes can contribute to a highly successful software developer versus the ordinary run-of-the-mill kind? I don’t believe the attributes listed here are the end-all, be-all list, nor do I believe you have to be born with them. Nearly all things in life can be learned, and these attributes are no exception.

Like this article? Check out my new book, Writing High-Performance .NET Code.

Humility

Humility is first because it implies all the other attributes, or at least enables them. There are a lot of misunderstandings of what humility is and sometimes it’s easier to explain it by describing what humility isn’t:

  • humility isn’t letting people walk all over you
  • humility isn’t suppressing your opinions
  • humility isn’t thinking you’re a crappy programmer

C.S. Lewis said it best, in the literary guise of a devil trying to subvert humanity:

Let him think of [humility] not as self-forgetfulness but as a certain kind of opinion (namely, a low opinion) of his own talents and character. . . Fix in his mind the idea that humility consists in trying to believe those talents to be less valuable than he believes them to be. . . By this method thousands of humans have been brought to think that humility means pretty women trying to believe they are ugly and clever men trying to believe they are fools.*

Ok, so we realize humility isn’t pretending to be worse than you are and it’s not timidity. So what is it?

Simply put, humility is an understanding that the world doesn’t begin and end with you. It’s accepting that you don’t know everything there is to know about WPF, or Perl, or Linux. It’s an acknowledgment of the fact that, even if you’re an expert in some particular area, there is still much to learn. In fact, there is far more to learn than you could possibly do in a lifetime, and that’s ok.

Once you start assuming you’re the expert and final word on something, you’ve stopped growing, stopped learning, and stopped progressing. Pride can make you obsolete faster than you can say “Java”.

The fact is that even if you’re humble, you’re probably pretty smart. If you work in a small organization with few programmers (or any organization with few good programmers), chances are you’re more intelligent than the majority of them when it comes to computers. (If you are smarter than all of them about everything, then either you failed the humility test or you need to get out of that company fast). Since you happen to know more about computers and how software works than most people, and since everybody’s life increasingly revolves around using computers, this will give you the illusion that you are smarter than others about everything. This is usually a mistake.

Take Sales and Marketing for example. I have about 50 Dilbert strips hung in my office. I would guess half of them make fun of Sales or Marketing in some way. It’s easy, it’s fun, and it’s often richly deserved!

But if they didn’t sell your software, you wouldn’t get paid. You need them as much as they need you. If someone asked you to go sell your software, how would you do it? Do you even like talking to people? As clueless as they are about the realities of software development, they have skills you don’t.

There are some industries where extreme ego will get you places. I do not believe this to be the usual case in software, at least in companies run by people who understand software. Ego is not enough–results matter. If you have a big ego, you’d better be able to back it up. Unfortunately, the problem with egos is that they grow–eventually you won’t be able to keep up with it, and people will see through you.

The competent programmer is fully aware of the strictly limited size of his own skull; therefore he approaches the programming task in full humility, and among other things he avoids clever tricks like the plague. – Dijkstra

Without humility, you will make mistakes. Actually, even with humility you’ll make mistakes, but you’ll realize it sooner. By assuming that you know how to solve a problem immediately, you may take steps to short-circuit the development process. You may think you understand the software so well that you can easily fix a bug with just a few tweaks…and yet, you didn’t realize that this other function over here is now broken. A humble programmer will first say “I don’t know the right way to solve this yet” and take the time to do the analysis.

Finally, humble people are a lot more pleasant to work with. They don’t make their superiority an issue. They don’t always have the “right answer” (meaning everybody else is wrong, of course). You can do pair programming with a humble person, you can do code reviews with a humble person, you can instruct a humble person.

Leave your ego out of programming.

It’s not at all important to get it right the first time. It’s vitally important to get it right the last time. – Andrew Hunt and David Thomas

Perhaps most importantly, a humble programmer can instruct him/herself…

Love of Learning

If you’re new to this whole programming thing, I hate to break it to you: school has just begun. Whatever you thought of your BS/MS in Computer Science you worked so hard at–it was just the beginning. It will get you your first job or two, but that’s it. If you can’t learn as you go, from now until you retire, you’re dead weight. Sure, you’ll be able to find a job working somewhere with your pet language for the rest of your life–COBOL and Fortran are still out there after all, but if you really want to progress you’re going to have to learn.

Learning is not compulsory. Neither is survival. – W. Edwards Deming

This means reading. A lot. If you don’t like reading, I suggest you start–get into Harry Potter, fantasy, science fiction, historical fiction, whatever. Something. Just read. Then get some technical books. Start with my list of essential developer books. They’re not as exciting as Harry Potter, but they’re not bad either.

A lot material is online, but for high quality, authoritative prose on fundamental subjects, a good book beats all.

Reading isn’t enough, though. You have to practice. You have to write your own test projects. You have to force yourself to push your boundaries. You can start by typing in code sample, but then you need to change them in ways unique to you. You should have personal projects and hobbies that expand your skills. Be writing your own tools, or “fun” programs. Write a game. Do what it takes to learn new things!

The type of programs you write have a big bearing on how well you learn new material. It has to be something that interests you, or you won’t keep it up. In my case, I’m developing software related to my LEGO hobby. In the past, I’ve written tools for word puzzles, system utilities, multimedia plug-ins, and more. They all started out of a need I had, or a desire to learn something new and useful to me personally.

Another aspect of this love of learning is related to debugging software. An effective developer is not satisfied with a problem until they understand how it works, why it happens, and the details of how to fix it. The details matter–understanding why a bug occurs is just as important as knowing what to do to fix it.

Learn from mistakes. I have seen programmers who make a mistake, have the correct solution pointed out to them, say, “huh, wonder why it didn’t work for me”, and go on their merry way, none-the-wiser. Once their code is working “the way it should” they’re done. They don’t care why or how–it works and that’s enough. It’s not enough! Understand the mistake,what fixed it, and why.

Good judgement comes from experience, and experience comes from bad judgement. – Fred Brooks

Obviously, some balance has to be struck here. You cannot learn everything–it simply isn’t possible. Our profession is becoming increasingly specialized because there is simply too much out there. I also think that in some respects, you need to love learning just for the sake of learning.

Detail-orientedness

Developing software with today’s technologies is all about the details. Maybe in 100 years, software will progress to the point where it can write itself, be fully component-pluggable, self-documenting, self-testing, and then…there won’t be any programmers. But until that comes along (if ever), get used to paying attention to a lot of details.

To illustrate: pick a feature of any software product, and try to think of all the work that would have to be done to change it in some way. For anything non-trivial, you could probably come up with a list of a hundred discrete tasks: modifying the UI (which includes graphics, text, localization, events, customization, etc.), unit tests, algorithms, interaction with related components, and on and on, each discrete step being broken into sub-steps.

I have always found that plans are useless, but planning is indispensable. – Dwight Eisenhower

Here’s a problem, though: few humans can keep every single task in their head, especially over time. Thankfully, detail-orientedness does not necessarily mean being able to mentally track each and every detail. It means that you develop a mental pattern to deal with them. For example, the steps of changing a piece of software could be:

  1. Thoroughly understand what the code is doing and why
  2. Look for any and all dependencies and interactions with this code
  3. Have a well-thought-out mental picture of how it fits together.
  4. Examine the consequences of changing the feature.
  5. Update all related code that needs to (and repeat this cycle for those components)
  6. Update auxiliary pieces that might depend on this code (build system, installer, tests, documentation, etc.)
  7. Test and repeat.

An example: I find that as I’m working on a chunk of code, I realize there are several things I need to do after I’m finished with my immediate task. If I don’t do them, the software will break. If I try to remember all of them, one will surely slip by the wayside. I have a few choices here:

  1. Defer until later, while trying to remember them all
  2. Do them immediately
  3. Defer until later, after writing  them down

Each of these might be useful in different circumstances. Well…maybe not #1. I think that’s doomed to failure from the start and creates bad habits. If the secondary tasks  are short, easy, and well-understood, just do them immediately and get back to your primary task.

However, if you know they’ll require a lot of work, write them down. I prefer a sturdy engineering notebookin nearly all cases, but text files, Outlook tasks, notes, OneNote, bug tracking systems, and other methods can all work together to enable this.

The more experience you have, the easier you’ll be able to track the details you need to worry about. You’ll also analyze them quicker, but you will always need some way of keeping track of what you need to do next. There are simply too many details. Effective organization is a key ability of any good software engineer.

Another aspect of paying attention to details is critical thinking. Critical thinking implies a healthy skepticism about everything you do. It is particularly important as you examine the details of your implementation, designs, or plans. It’s the ability to pull out of those details what is important, what is correct, or on the other hand, what is garbage and should be thrown out. It also guides when you should use well-known methods of development, and when you need to come up with a novel solution to a hard problem.

Adaptability

“Enjoying success requires the ability to adapt. Only by being open to change will you have a true opportunity to get the most from your talent.” – Nolan Ryan

Change happens. Get used to it. This is a hard one for me, to tell the truth. I really, really like having a plan and following it, adapting it to my needs, not those of others.

The fact is, in software development, the project you end up writing will not be the one you started. This can be frustrating if you don’t know how to handle it.

To become adaptive first requires a change in mind set. This mind set says that change is inevitable, it’s ok, and you’re ready for it. How do you become ready for it? This is a whole other topic in itself, and I will probably devote a separate essay for it.

Other than the shift in mind set, start using techniques and technologies that enable easy change. Things like unit testing, code coverage, and refactoring all enable easier modification of code.

In war as in life, it is often necessary when some cherished scheme has failed, to take up the best alternative open, and if so, it is folly not to work for it with all your might. – Winston Churchill

For me, the first step in changing my mind set is to not get frustrated every time things change (“But you specifically said we were NOT going to implement the feature to work this way!”).

Passion

I think passion is up there with humility in importance. It’s so fundamental, that without it, the others don’t matter.

Anyone can dabble, but once you’ve made that commitment, your blood has that particular thing in it, and it’s very hard for people to stop you. – Bill Cosby

It’s also the hardest to develop. I’m not sure if it’s innate or not. In my own case, I think my passion developed at a very early age. It’s been there as long as I remember, even if I had periods of not doing much with it.

I’ve interviewed dozens of prospective developers at my current job, and this is the one thing I see consistently lacking. So many of them are in it just for another job. If that’s all you want, just a job to pay the bills, so be it. (Of course, I have to ask, if that’s the case, why are you reading this article?)

One person with passion is better than forty people merely interested. – E. M. Forster

There’s a world of difference between someone who just programs and someone who loves to program. Someone who just programs will probably not be familiar with the latest tools, practices, techniques, or technologies making their way down the pipeline. They won’t think about programming outside of business hours. On the weekends, they do their best to forget about computers. They have no personal projects, no favorite technologies, no blogs they like to read, and no drive to excel. They have a hard time learning new things and can be a large burden on an effective development team.

Ok, that’s maybe a bit of exaggeration, but by listing the counterpoints, it’s easier to see symptoms of someone who does have passion:

  • Thinks and breaths technology
  • Reads blogs about programming
  • Reads books about programming
  • Writes a blog about programming
  • Has personal projects
  • These personal projects are more important than the boring stuff at work
  • Keeps up with latest technologies for their interests
  • Pushes for implementation of the latest technologies (not blindly, of course)
  • Goes deep in technical problems.
  • Not content with merely coding to spec.
  • Needs an outlet of creativity, whether it be professional (software design) or personal (music, model building, LEGO building, art, etc.)
  • Thinks of the world in terms of Star Trek

Just kidding on the last one…

…(maybe)

That’s my list. It’s taken a few months to write this, and I hope it’s genuinely useful to someone, especially new, young software engineers just getting started. This is a hard industry, but it should also be fun. Learning these attributes, changing your mind set, and consciously deciding to become the engineer and programmer you want to be are the first steps. And also part of every step thereafter.

Nobody is born with any of these–they are developed, practiced, and honed to perfection over a lifetime. There is no better time to start than now.

* The Screwtape Letters, C.S. Lewis

83 thoughts on “Top 5 Attributes of Highly Effective Programmers

  1. Chris

    Good Article ! If I could add one attribute to the list it would be “Communication”, we do not build software in Silo’s (ok some of you might). For the most part we need to communicate with other developers and non developers who will ultimately change how the software is built.

    Without communication people will avoid you and eventually not include you at all.

  2. pepethecow Post author

    Chris, that’s a very good point, and I did consider communication under the characteristic of patience (since I view communication more as a skill than an attribute), but I eventually dropped patience as it seemed to merely be a consequence of humility.

    I definitely agree about the fundamental importance of communication, though. Nothing can screw up a team faster than a lack of communication, or people who communicate in ineffective, wasteful, or irritating ways.

  3. Brian

    Great article. In theory, all these attributes are common sense among good developers. But in reality, it is easy to forget about them, or forget the critical importance of these general principles, as we go about our day fixing bugs, analyzing requirements, and learning new technologies.

  4. pepethecow Post author

    @Brian, I totally agree that these are common sense attributes (for a lot more things than just programming) that we forget so easily.

    In the face of the daily grind, it takes real energy to keep up self-improvement efforts. But more energy put into the system is more that’s able to be taken out.

  5. Don Ulrich

    Someone recently that being passionate about programming indicated
    I was a hobbyist. I told him programming is a practice not just a job.
    Then I showed him Ajax web services on a virtual dedicated server
    and what I had to do to accomplish this. Told him that the answers can’t be found in a book or at a conference and usually come at 3:00am.

    He hired us…

  6. Dan

    Great post, great comments. One other charateristic that is traditionally present in all great developers (bear with me): laziness. Actually I didn’t realize that, I read it a while ago in some article or post, and at first I was offended by it, then I realized how true it is.

    Highly Effective & Productive Developers write batchfiles & makefiles, understand their toolsets, programming languages, editors, etc…. so as to be as productive & efficient as possible. Time spend waiting for a build, manually adjusting parameters in 6 files to configure a customer release, etc….. are not lazy, and they are not efficient either.

    I want someone who’s always saying “this is a waste of my time, I’m gonna find a way to do it better/faster.” Mind you I’m not talking about cutting out testing, documentation, etc… but I’m saying that good developers are intolerant of their time being wasted on mundane tasks, they’re always saying, “There’s GOTTA BE A BETTER WAY!” And if they can’t find a solution, they build one.

    My 2 cents.

  7. pepethecow Post author

    Is it laziness or the abhorence of inefficiency and wasting time when there are so many more interesting things to be doing? Or is there a difference? I’ve always thought of laziness as more extreme–an unwillingness to do anything, even to improve the situation, but I guess the definition of lazy can vary. Thanks for contributing to this great discussion!

  8. Pingback: Devolio

  9. Pingback: Top 5 Attributes of Highly Effective Programmers — mvn install - resources for the Java developer

  10. Petar

    I totally agree with the list. I think the most important thing is passion though. To much people work to pay the bills and neglect following their passion. But great post(s) on your blog!

  11. Pingback: Deliggit.com | The social sites' most interesting urls

  12. daniel

    Great article, but I have to say, I think these things apply to being good at ANYTHING, not just programming. (which I guess means it is that much better, as an article).

    cheers.

  13. Len

    The defining characteristic of highly effective programmers is persistence. Persistence is what weeds out the amateurs. Being willing to bang your head against a wall for hours, days, weeks or longer to find a bug is what separates the men from the boys. Nobody without persistence puts up with the craft for very long. And therefore, the best programmers are generally the ones who survive over time.

  14. Myra

    Fantastic article! Insightful and entertaining. And NOT just for developers. Not at all. Fine job.

    Great quotes too.

  15. seth

    Thank you for this article. It’s exactly the sort of thing I think would benefit me most at this stage in beginning my career. I appreciate it and look forward to more incite.

  16. Pingback: Philosophical Geek » Top 5 Attributes of Highly Effective Programmers « The other side of the firewall

  17. Kurt

    This is an excellent, well written article. I like how you took the time to explain why each characteristic is important. It shows that you too follow these guidelines. Most bloggers would probably just list the 5 characteristics leaving the rest of us wondering why they are so important and the impact they can have.

  18. Steven

    Top-notch article and great comments. I enjoyed it and will refer to it regularly. Any exposition that can include “Screwtape”, “Legos”, Churchill, and Java is a well-rounded discussion indeed. Applies to many fields, not just developers.

  19. pepethecow Post author

    @daniel, Myra, Steven,

    I definitely agree. Fundamentally, there is nothing special about these traits that apply solely to programmers. Someone who practices and hones would no doubt excel at anything they put their mind to.

    I definitely like thinking about it in terms of programming, however. Perhaps because the nature of software so easily separates the greatest from the average (as noted by Frederick Brooks among others)

  20. Pingback: Top ten list articles on the web this week - toptencrazy.com

  21. Pingback: Reflective Perspective - Chris Alcock » The Morning Brew #20

  22. Steffen

    Good article. Enjoyed reading it…
    I agree with the attributes and also the comments about laziness. I call it that myself whenever I encounter a task that is so tedious or time-wasting it forces me to write a tool to make my life easier…;-)

    “In programming you never win any medals!”

    /steffen

  23. Krishnan

    This article is a great one. The way all the points are explained it makes us understand why every point is important for a developer or programmer or for that matter anybody else. I will try to take all of them and try to implement them in my life.

    Thanks
    Krishnan

  24. Mohana Krishna

    Excellent points… Couldn’t agree more about ‘Humility’ being the first.

    One other attribute that I think helps a great deal is the ability to take a step back to see things in a larger perspective, whether for a better understanding of the problem or the quality of the solution. Holds good for other things in life too.

  25. Vabhav jain

    Very good Blog

    Learing shold be part of life. In the programming field you can not servive without learing.

  26. Pingback: NLPhilia Blog

  27. Pingback: » Daily Bits - January 30, 2008 Alvin Ashcraft’s Daily Geek Bits: Daily links, development, gadgets and raising rugrats.

  28. TW Andrews

    You could replace “Programmers” with people here. The five attributes are ones you should look for in any position you’re hiring for. It’s unfortunate that they’re generally hard to find, and more so that the people who have them all can command salaries beyond those typically offered by programming positions.

  29. Regev Porat

    Thanks for this insightful post !!

    Unfortunately I must disagree on one point: ego and arrogance will take you a long way even if you can’t match it with your deeds. People are so fascinated by those who acts and thinks they’re “geniuses”, know-it-all, etc, that even when everything collapses, the “genius” is never to blame, it’s always someone else’s fault. It’s like Frued said, an in-loved woman knows her lover the least. She simply refuses to see his downsides, unlike the others. This pattern of denial or cognitive-dissonance is common towards people who really believe they’re amazing one-of-a-kind talented and gifted. It works for them again and again.
    But anyway, thanks again for a great post.

  30. Pingback: ?????? ????? « Regev’s Library

  31. Pingback: ?????? ????? « Regev’s Library

  32. Pingback: Top 5 Attributes of Highly Effective Programmers « vincenthome’s Software Development

  33. John

    Thanks for the great essay. I’m graduating in a few moths with my CS degree and found this writing very encouraging.

  34. Pingback: Top 5 Attributes of Highly Effective Programmers - Adam Jordens@littlesquare:~/

  35. Pingback: Top 5 Attributes of Highly Effective Fathers » Frenzied Daddy

  36. Pingback: Philosophical Geek » Fighting Brain Rot

  37. Pingback: 5 Corollaries of Highly Effective Programmers | Caffeinated Coder

  38. Pingback: 10 Ways to Learn New Things in Development | Philosophical Geek

  39. KoW

    Fascinating, same attributes apply to learning a martial art, especially the fact that humility leads to the rest.

Comments are closed.