January10

Coding standards and Best practices tools

With a few months of programming experience, you can write 'working applications'. But doing it the most efficient way requires more work than just making it work! Writing 'Efficient Code' requires skills and practice makes perfect.

But there are few tools which can help you achieve it to an extent.

  1. Resharper
    ReSharper is a refactoring and productivity extension by JetBrains that extends native functionality of Microsoft Visual Studio 2003, 2005, 2008 and 2010.

    ReSharper executes solution-wide static code analysis (error detection on-the-fly, without the need to compile), provides additional features for error correction, code completion, navigation, search, syntax highlighting, formatting, code generation and optimization, carries out 40 automated refactorings, and streamlines unit testing using NUnit and MSTest, among other features.

    More Info: http://www.jetbrains.com/resharper/

  2. Gendarme
    Gendarme is a static code analysis tool that runs tests on our code, checking for avoidable bugs etc. It would also suggest how to optimise the codes. Gendarme is an extensible rule based tool to find problems in .Net applications and libraries. Gendarme inspects programs and libraries that contain code in ECMA CIL format (Mono and .Net) and looks for common problems with the code, problems that compiler do not typicall check or have not historically checked.

    More Info: http://www.mono-project.com/Gendarme

  3. StyleCop
    StyleCop analyzes C# source code to enforce a set of style and consistency rules. It can be run from inside of Visual Studio or integrated into an MSBuild project.

    More Info: http://stylecop.codeplex.com

  4. Pair Programming Review
    If time permits it is good to have some review of the code frequently. The easiest possible way would be pairing the programmers and reviewing each other code.

Add comment




  Country flag
biuquote
  • Comment
  • Preview
Loading