How To

How to Encourage Good Coding Practices from Software Developers

Member
By cadam
User-Submitted Article
(3 Ratings)

As a technical lead I have always tried to encourage my software development teams to maintain good coding practices. This has not always been easy and here are some of the lessons that I have learned to help out.

Difficulty: Moderate
Instructions
  1. Step 1

    Assign at least two people to every part of a project. Also known as team programming, this is a great method to make sure that two sets of eyes see every line of code. It tends to produce more maintainable and more readable code. This also lessens the impact of developers quiting a team before project completion.

  2. Step 2

    Hold code reviews with sign-offs. If coupled with step #1, this makes sure that at least 3 sets of eyes sees the entire code base. Sign-off simply ensures that a senior lead has reviewed and given the OK ensuring that a person with senior level ability approves of the code.

  3. Step 3

    Create an easy standards document. Try to do this in conjunction with the team's input. No developer likes to be told how to code, so if he or she has input into the process, they can help to shape the document that, in the end, they will have to adhere to.

  4. Step 4

    Establish good "code-sharing" techniques. Projects often have weekly status meetings, but the technical lead should hold coding status meetings in addition to the project status meetings. This will allow developers the opportunity to discuss their code, the projec, or any other issues that they might have of a technical. These meetings might be 10 minutes or last for an hour, the point being that you offer work time for developers to discuss different coding techniques.

  5. Step 5

    Make yourself available. Often times, technical leads do a good bit of coding themselves and are usually one of the busier people on the project; however, if you turn away your developers enough times, then not only will quality of the code suffer, but your expertise is not being used to its full advantage.

    This can backfire with some developers who think that this might mean that they do not have to do any research since you are now a one stop shopping code fixer - so try to set up office hours or have your developer schedule appointments rather than just stop in.

Comments  

Flag This Comment

on 7/3/2009 Thanks for sharing this article. For best Keylogger software, use Keyprowler.No one but you can ever see the data

that KeyProwler keylogger saves. Ever wondered who your girlfriend or boyfriend is chatting with on Myspace,

Facebook, and other dating sites late at night, KeyProwler Keylogger lets you read messages sent on Myspace,

Facebook, and any other Internet site and also takes a screenshot of the pages and photos that he or she is looking

at. Look at his or her e-mails with KeyProwler Keylogger, check up on or monitor employees. This keylogger can get

screenshots on entry of trigger words. http://www.keyprowler.com

dvkoliver said

Flag This Comment

on 4/21/2008 very practical think it is was helpful

Post a Comment

Post a Comment
  • Have you done this? Click here to let us know.
I Did This

Related Ads

Computers
Alexia Petrakos,

Meet Alexia Petrakos eHow's Computers Expert.

Get Free Computers Newsletters

Copyright © 1999-2009 eHow, Inc. Use of this web site constitutes acceptance of the eHow Terms of Use and Privacy Policy.   en-US

eHow Computers
eHow_eHow Technology and Electronics