Thursday, November 15, 2007

Occam's Coder

When deciding between two or more choices for a style rule in your team's programming style guide, and all of these lead to code that is equally maintainable, prefer the rule you can explain in the fewest words.

"Readability" is also everyone's goal, but fails as a criterion because it is far too subjective.

13 comments:

  1. I've always wondered what it would be like to put some Subversion hooks in place that always reformats code on commit, then programmers can do whatever they want in their working copies. This won't address naming, but it should let us move beyond tabs/spaces/curly braces/etc.

    ReplyDelete
  2. I want editable projections!

    Curly braces, tabs, closures, and properties are only problematic because the editing form of our code is also the binary form.

    Let's build this for Java?

    ReplyDelete
  3. @eric
    You can do that already with IntelliJ and TeamCity. It's not Open Source, but I really hope the concept of "Post-Commit" will appear in open source software.

    ReplyDelete
  4. Hey Kevin,

    Google Collections Library is pretty cool, but I don't find any presentation at youtube.com or video.google.com about it.

    It would be nice to webcast a presentation about the design of this library as there are many videos about Guice (other cool thing), for example.

    Keep the good job!

    ReplyDelete
  5. Other ways to unlock trapped cash thomas sabo is in the form of selling thomas sabo shop silverware, silver flatware, sterling silver thomas sabo jewellery and scrap silver. Each of these thomas sabo schmuck will fetch different values depending on charm club thomas sabo the product and purity factors. sabo charm club With the current economic condition, selling thomas sabo 2010 precious metals, either pure or scrap, has gained thomas sabo sales a lot of importance since it thomas sabo reduziert has great intrinsic value attached to it and selling the scrap is one of the smartest ways of making money.

    ReplyDelete
  6. IIT JEE Coaching in Patna | IIT JEE Institute in Patna | NEET Coaching in Patna | Medical Coaching in Patna | JEE Mains, JEE Advance Coaching in Patna | Europa Classes

    JEE Mains, JEE Advance Coaching in Patna

    ReplyDelete
  7. Hindisales provide you most productive Offers notification for you. If you Want to buy any products for you. Just check offers on that products in hindisales and check it out from here
    Hot offers on Amazon]

    ReplyDelete
  8. tipsontechnology

    learn every time new tips on technology

    Hey my audience, in this website we’ll post about many tips on technology. many tips on hacking, education and many entertainment niche. i’ll post somethin Tips on technology
    g special for you, Everyday
    So check out it from here

    ReplyDelete
  9. thanks for your valuable information it is helpful for me, i like to share you something
    http://traininginmedavakkam.in/training-courses/automation-anywhere-training-in-medavakkam/
    http://traininginmedavakkam.in/training-courses/msazure-training-in-medavakkam/
    http://traininginmedavakkam.in/training-courses/sap-bo-training-in-medavakkam/
    http://traininginmedavakkam.in/training-courses/qlikview-training-in-medavakkam/
    http://traininginmedavakkam.in/training-courses/tableau-training-in-medavakkam/

    ReplyDelete
  10. Thank you for taking the time to provide us with your valuable information. We strive to provide our candidates with excellent care
    http://trainingincoimbatore.in/autocad-training-in-coimbatore.html
    http://trainingincoimbatore.in/solidworks-training-in-coimbatore.html
    http://trainingincoimbatore.in/ansys-training-in-coimbatore.html
    http://www.trainingincoimbatore.in/cad-cam-training-in-coimbatore.html
    http://www.trainingincoimbatore.in/revit-architecture-training-in-coimbatore.html
    http://www.trainingincoimbatore.in/web-designing-training-in-coimbatore.html

    ReplyDelete
  11. بهترین برند لوازم آرایشی را می شناسید؟ محصولات آرایشی گلدن بری یکی از بهترین برندهای لوازم آرایش است.

    ReplyDelete