Archive for the ‘Craft of coding’ Category

Feature-creep in scientific code

Monday, April 13th, 2009

[caption id="" align="alignleft" width="300" caption="Photo by blmurch"][/caption] (with thanks to Joe Z for the comment that inspired this post ) Feature-creep can be a real killer for your carefully crafted code.  Scientific code can be especially prone to it, simply because planning is hard when you're working on the edge of human knowledge.  ...

How to … review code

Monday, March 9th, 2009

Image via Wikipedia In the last post we covered four fundamental ways to improve your code: read, write, review and contribute. This post will cover reviewing code: how to review, how to be reviewed, what to look for during a review and when to perform a review. No related ...

4 ways to become a better programmer

Tuesday, March 3rd, 2009

Image via Wikipedia Becoming a better programmer is not only a laudable goal for improving the quality of the science you produce but programming is a great skill to have if you decide to leave the academic world. This post covers ways of becoming a better programmer. No related ...

Brute Force and Excellence: Using the simple solution to a coding problem

Monday, February 9th, 2009

[caption id="" align="alignleft" width="240" caption="Photo by El Garza"][/caption] Sometimes, a problem in coding has a simplistic solution. It might be ugly. It's probably way slower than the smarter ways you can think of to solve the problem. It may even offend your sensibilities as clunky and unpleasant. We think ...

Things to make you go hmmm …. (laugh then think!)

Monday, February 2nd, 2009

"Many a true word is spoken in jest" is a phrase that has echoed down the centuries from Chaucer, through Jonathan Swift and George Bernard Shaw and into the modern word. While Chaucer would have claimed that programming was witchcraft his immortal words are certainly as true today as they ...