News

Back to Horms' Home Page

A few words on code style

[Kamakura]

I wish that I was writing about a new code for style but instead I'm writing about poor coding style. I'll keep it brief.

  1. If you have a very large function that is doing lots of things, its a sign that some refactoring might be in order. If not for yourself, to aid others who have to work on the code.
  2. If the things are interlaced for no apparently good reason, you've created a maintenance monster.

Fri, 25 Jun 2010 11:29:35 +0900| Permalink