A Year with Code Standards

Last December the developers at iMarc agreed upon a series of code standards.

At the time, there were four developers working at iMarc. Normally, each developer could be found working on a different project (or two, or three). Because iMarc also hosts a large number of websites, each developer also spent part of his day updating and maintaining older projects.

A typical slice in any day might have seen:
* Bill working on a new project;
* Fred adding a new section to a site that I built 2 years ago;
* Will finishing a new site with some help from me;

We all were constantly seeing, and sometimes working on, each other's code, but there were no set rules about how everyone should write code.

We all had our own quirks. There are a million ways to name a database, name files, quote and concatenate strings, indent code, or capitalize method names. Through sheer osmosis, the four of us generally had similar styles, but it still took a fair amount of time to get grounded when first working on someone else's project.

At the time, iMarc was planning to grow. The four of us got together and decided to author some ground rules that we, and any developers hired in the future would follow.

After much debate, we came up with the iMarc Code Standards.

No matter how big or small your company is, I highly recommend using code standards.

A year with code standards has easily saved iMarc developers 30-40 developer hours. We now have six developers and I'm guessing that each of us saves at least 1/2 hour per month not thinking about what a database table might be named, what a function call is named, or other mundane issues solved by code standards.

Again, feel free to check out our code standards. Enjoy!

Comments

Tuesday, Jan 2, 2007 / 1:52pm Fred LeBlanc said…

It feels as though creating standards sets should not be limited to just code, but in all aspects of the business.

For example, an excellent set of standards for writing: http://alistapart.com/contribute/styleguide/.

Comments have been turned off on this blog.
Read something more recent.

Statements and opinions expressed in this blog and any comments made are the private opinions of the respective poster, and, as such, iMarc LLC is neither responsible nor liable for such content.

Meet The Author

Dave Tufts

Vice President, Director of Technology

Search

Recent Blog Posts

Recent Comments

  • A better tool

    Dave Tufts commented: Just downloaded Soulver - it's great. I also like using the search box in my browser or Google. Similar, linear layout to Soulver. (for the record, that giant calculator on my desk looked like a small regular-sized calculator in the picture on Amazon)

  • Lunchroom Banter (Volume XX)

    Nick commented: Since Bill didn't do it, I will. "Oh snap!"

  • iMarcians with staying power

    Nick commented: Congratulations on the anniversaries. I had a professor tell me early on at the Art Institute that "you can expect to change web jobs every 2-3 years until you settle somewhere". I love proving this guy wrong every day. Congrats again.

  • Twitter, Alone, Is Not Customer Service

    Jay G commented: Same here, and my story is with Alaska Air, too. Their website said the customer service phone number was open something like 8am-8pm PST, but this was after hours, so I tweeted. Lo, and behold, I got a tweet response in 10 minutes with the 24/7 phone number. But this didn't change the confusion from their website…

  • Mobile browsers: Here's the data

    Robert Mohns commented: The data comes from visitors to iMarc.net — an important detail I forgot to include! — not the web as a whole. As for why so little Flash on mobile devices… I'd say this is because even Flash Lite is pretty resource intensive, and it's just not essential to the core content most people need to access. I don't think it has a lot to do…

We heart Visitors

  • iMarc
  • 14 Inn Street
  • Newburyport, MA 01950
  • Phone: (978) 462-8848
  • Fax: (978) 462-8807
  • Directions

Contact Us

Whether you have a huge project specification or just want to talk about updating your site, we’re here to help. Fill out the form, and we’ll get right back to you.

Contact Us
  • All Fields Required

Close