Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Building Rock Solid Software in the Real World

Omni Adams
November 08, 2011

Building Rock Solid Software in the Real World

As a professional developer, you already do all of the best practices. You store your code in a source control and write unit tests. You already know all of the patterns and when to use them. Your code is perfect and beautiful. Then you hire another developer. He puts his braces in the wrong place and uses different formating then you. He keeps committing broken code to your code base. Then you add another two members to your team along with a junior developer. All of your beautiful code is getting ugly, brittle, poorly documented, and hard to maintain. We'll discuss some of the pitfalls and strategies when developing software in the real world, from style guides to code reviews to automated checks that keep your team from imploding in ego-driven angst.

Omni Adams

November 08, 2011
Tweet

More Decks by Omni Adams

Other Decks in Programming

Transcript

  1. Building rock solid software in the real world Improving team

    workflow to improve your software http://www.flickr.com/photos/preef/32995286/
  2. $ cd /pub $ more beer Code gets built You

    get tanked After code is submitted
  3. Things the tools can't catch: •Logic errors •Off-by-one errors •Obvious

    performance problems •Refactoring opportunities •Bad/misleading documentation Things the tools missed: •Style problems •Syntax errors •Typos •Unreachable code •Useless tests •Missing tests Code reviews
  4. Style guides <?php or <? or <% $variableName or $variable_name

    ClassName or Class_Name Line length Ternary operator Documentation
  5. Update dashboards Build documentation Run unit tests Calculate code coverage

    Build reports Sends emails Repository Build server After submitting