Are you paying the price for a lack of consistency?

In any team sport, the best teams have consistency and chemistry. – Roger Staubach

When writing code was my day job, my projects inevitably went like this:

  1. Check the code out.
  2. Read the code to figure out what is going on.
  3. Start reformatting the code and re-writing pieces of the code that didn’t match my style. I convinced myself that this was part of my “process” of understanding the code.
  4. Finally, make the appropriate change.
  5. Check in all modified files – usually a lot more than necessary to make the change because of all my formatting issues.
  6. Repeat steps 1-5.

The problem was that while all my co-workers were bright developers, they obviously weren’t as bright as me because they couldn’t properly format their code. I took it as my job to “enlighten the unwashed masses” up until the day my boss called me into his office and politely told me to STOP IT!  To be fair, he had to call a couple of others in also.

Invariably, I would get lost in the weeds of step 3 and sometimes it would take longer than the actual fix.

The problem was that each of us could code, but we did it differently. Curly brace placement, tabs vs. spaces, etc. We had no consistency because we had all been trained separately or learned on our own.

When I look back on this now, the cost of our lack of consistency was staggering, even after our visits to the principal’s office.  Each of us making changes or changing things back because someone else had changed it to their style was adding up to cost overruns on projects. Overruns that served no-one.

This problem could have easily been solved, along with several others, by regular team-based training. Instead of one person going to training for this, someone else going for training on that, training the entire team together.

Sports teams train together for a reason. For the entire squad to move as one, they have to practice, so that there is no wasted effort that costs precious time or points. Your development team should be the same.

Invest in training your entire team together so that you can reap the rewards of consistency.

Enroll your team in a training class today! We’ve got a number of great courses, including a new one: Apache Fundamentals. For a full listing visit Zend training.

The following two tabs change content below.
    Cal Evans is the technical manager for Zend training and certification at Rogue Wave Software. For the past 10 years Cal has worked with PHP and MySQL on Linux OSX, and when necessary, Windows. He has built on a variety of projects ranging in size from simple web pages to multi-million dollar web applications.

    About Cal Evans

    Cal Evans is the technical manager for Zend training and certification at Rogue Wave Software. For the past 10 years Cal has worked with PHP and MySQL on Linux OSX, and when necessary, Windows. He has built on a variety of projects ranging in size from simple web pages to multi-million dollar web applications.