Recent Posts

Recent Comments

  • Stew: I’m not easily impressed. . . but that’s imprssieng me! :)
  • Olli: Two and a half year later – nothing changed.
  • Arrays: Steele made a wonderful piece about programming languages for the JAOO developers conference called 50 in 50....

Top Commentators

Archives


« New in 2009 – JAOO days | Main | The challenges of next generation software applications, Cloud Computing and Software-as-a-Service »

Programmer’s dozen – programming best practices

By Therese Hansen | January 19, 2009

Take control of your code with these programming best practices from Kevlin Henney. At JAOO Aarhus 2008 Kevlin used a trash can, vampires, a train wreck, whiskey and much more to make you understand and remember his 13 constructive points (a programmer’s dozen) about programming and code smells. As this is a must see, we made a video of the presentation for you:

The 13 points made by Kevlin are:
0. Prefer code to comments.
1. Follow a consistent form.
2. Employ the contract metaphor.
3. Express independent ideas independently.
4. Encapsulate.
5. Parameterize from above.
6. Restrict mutability of state.
7. Favor symmetry over asymmetry.
8. Sharpen fuzzy logic.
9. Go with the flow.
10. Let code decide.
11. Omit needless code.
12. Unify duplicate code.

Kevlin will be speaking at QCon London 2009 and JAOO Aarhus 2009, so if you like this video, come and watch.

Category: 2008 JAOO | Tags: , , | 3 Comments »

3 Responses to “Programmer’s dozen – programming best practices”

  1. James Says:
    January 19th, 2009 at 10:21 pm

    Why do the slides look like they were made in the 80s???

  2. Therese Hansen Says:
    January 31st, 2009 at 1:29 am

    Maybe Kevlin just like them like that :-) .

  3. Adrian Lynch Says:
    March 30th, 2009 at 12:28 am

    Excellent! This is getting sent to a bunch of developers… sorry, programmers… I work with :OD

Comments