While I Compile

… I compile my thoughts about programming

11 Personal Programming Assumptions That Were Incorrect

Today I got side tracked and spent an unreasonable amount of time on StackOverflow.com. One of the questions I was looking at was What is your longest-held programming assumption that turned out to be incorrect?

Many of the answers immediately resonated with me, like Instantsoup’s answer That people knew what they wanted and JohnFx’s awesome answer about comparing his knowledge to the collective knowledge of all other programmers. Other answers reflected a poor initial understanding of the language or technology, many of these I was fortunate enough to not relate to.

As you can imagine, I immediately started coming up with my own answers, so I continued reading to make sure they weren’t already there. But as I read, I came up with more initial assumptions which proved to be false. I thought I’d pick out the best, and answer with that one, but realized I had a whole blog post!

So without further ado; here is my list of assumptions about programming and the industry which proved to be incorrect:

  1. The customer and user are the same person.
    In consulting with custom in house software this is (almost?) never the case. The customer has their eye on the budget and many won’t give 2 cents to make something easier for the user.
  2. You isolate and kill all bugs without exception
    Truth is; there will always be bugs, and what gets fixed is an ROI decision.
  3. Writing beautiful software as an act of craftsmanship
    It’s taken a LONG time for me to get it through my head that it’s just another financial investment, where you want to get as much as possible while giving as little as possible. However, although I know it intellectually, I still don’t ‘get it’.
  4. Working 24/7 would be rewarded
    Truth is, working all the time will burn you out, lower your productivity, and cause you to make stupid mistakes which reflect on your professional abilities.
  5. Vendors can be believed
    In my experience, don’t believe the product will integrate as seamlessly as they say without getting their API documentation and building the whole integration mentally first.
  6. You are not actually working from the monitor.
    With today’s GUI platforms, this is largely abstracted out, so you can actually program believing that a textbox is a physical entity. But when you are managing your own graphics, that textbox isn’t going to capture your keyboard presses and display them, unless you provide the illusion. It’s actually up to you to capture the keyboard input, and adjust the memory buffer containing your screen image with the newly typed letter in the control. This was a real mind bender for me, when I first got into this.
  7. That I wasn’t a very good programmer
    Like JohnFx’s answer, I was unsure about my abilities. I don’t have a C.S. degree, and was overwhelmed by the depth and breadth of the knowledge out there. But the more people I meet, the more I realized, I might actually be pretty good. Don’t get me wrong, under malicious attack, there are many who could expose and exploit the holes in my knowledge, but in my general area (business software), I’m finding that I’m not too bad.
  8. You need to / should grok a language or tool before you even start.
    Groking is a powerful way to start with a new language or tool. But in reality, especially with consulting, there isn’t always time. If you can hack something together in a completely unfamiliar language/tool/framework/paradigm/etc in 5 days, and it would take somebody who knows it cold 1 day, but it would take you a month to grok it … you hack. You may not want to, but from a business perspective … that’s the correct answer.
  9. You don’t say you know something unless you’ve grok’d it.
    Well, you don’t need to have too many conversations with too many programmers to know this idea is not wide spread.
  10. Other programmers saw beauty in their work.
    Personally, a well written piece of software is similar to a piece of art. It’s my form of artistic impression. It’s my baby. However, there are many people in our industry who do this 9-5, and appear to get no more enjoyment out of it, than I got out of a factory job I had in my teens.
  11. The best programmer is recognized
    In retrospect this is almost laughable, at least in consulting! If programmer A writes a wiz bang sub system, takes 2 weeks, it’s flexible to extend, and the core system never requires maintenance. Programmer A would not be held nearly in as high regard as programmer B who takes 1 week, hacks together a piece of garbage which is a nightmare to extend, and is maintained with multiple bugs for it’s life time. This is unfortunate, but in my experience, only a very capable manager would know the difference.

Copyright © John MacIntyre 2009, All rights reserved
WARNING – All source code is written to demonstrate the current concept. It may be unsafe and not exactly optimal.

About these ads

June 4, 2009 - Posted by | Programming | , ,

12 Comments »

  1. Great post. I totally agree with many of these points. Number 11 could probably be clarified a little better as a “very capable manager” leaves some room for interpretation. Perhaps some distinction that this capable manager should really understand the software lifecycle and not just be some run of the mill project manager that just happens to be looking after a software project this time around.

    Comment by Ben Alabaster | June 4, 2009

  2. Thanks for the comment Ben. And yes, your assumed distinction about the manager is what I intended.

    Comment by John MacIntyre | June 4, 2009

  3. I still struggle with #8, wanting to master a language before I use it. Not only is this not necessary, it’s probably not possible. You’ve got to write code to learn a language (though it doesn’t have to be *production* code). At the other extreme, however, are the people who use a language without ever learning it (i.e. JavaScript).

    Comment by John | June 5, 2009

  4. If I understand right what you mean by #3, I don’t agree. I think that if you want to be satisfied doing software development and continue for years without burning out, you have to write code of which you can be proud.

    I’d say that code that is clear, flexible, and maintainable gets you the most in return for giving the least, in the long run. Coincidentally, that lines up pretty well with my definition of beautiful, well-crafted code.

    Comment by Jason Fruit | June 5, 2009

  5. @John

    So true! We learn by doing. It can be intimidating to learn something under the pressure of generating business value while learning something new. However, sometimes I need the pressure of creating something real to force me to dive into a new language.

    Ben

    Comment by Ben Simo | June 5, 2009

  6. Jason-Actually, it sounds like we do think a like. I personally, don’t like or agree with my conclusion to #3 either, but the business aspect of it (at least with consulting), seems to push this way.

    Comment by John MacIntyre | June 5, 2009

  7. Ping Back

    Links for the week

    Some interesting links I ran across this week.

    Software
    PoshBing, a PowerShell interface to Bing search
    Laws of programming and technology
    11 Personal Programming Assumptions That Were Incorrect
    []

    Pingback by Links for the week — The Endeavour | June 6, 2009

  8. Well while i have to agree with all the points that you raised i have to admit that there are so many more issues and points to be raised. You could probably write a blog entry on each of the following areas like the end user, the customer and the programmer amongst others.

    Comment by Marc Towler | June 10, 2009

  9. #11 is an interesting one – it appears that organizations tend to actually reward bad quality. The heroic last-minute effort required to fix a high profile bug always gets more praise than the code (and coder) which didn’t have that bug in the first place.

    Comment by Ville Laurikari | January 7, 2010

  10. Ville-In my experience, most managers I’ve worked for don’t know much about programming, and if you don’t already have a high trust/respect relationships, they just don’t have any metrics other than time. It’s actually quite shocking how few (none in my experience) measure whose changes require the most bug fixes.

    Comment by John MacIntyre | January 7, 2010

  11. Seems like #11 is the most thought about point. I am on the fence for this one. It all depends on the manager. In most cases, if the manager has grown from being a programmer, he/she will easily notice if a programmer has produced quality work or it is going to be a tough time fixing bugs.

    Comment by Kevin Rodrigues | January 9, 2010

  12. ‘If’ the manager is/was a dev, then you’re correct, they’d know. But unless you work for a software company, then they won’t. And in 15 years, I’ve only worked for 1 software company.

    … but I can tell you, it was very nice to work with somebody who knew what I was contributing, rather than worrying about image.

    Comment by John MacIntyre | January 9, 2010


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: