Archive for September, 2008

Four ways to find invisible bugs

Monday, September 29th, 2008

[caption id="" align="alignleft" width="300" caption="Photo by Chainus"][/caption] "I just can't find what's wrong with my code..." Sometimes you just can't see why your code isn't working.  It's clearly broken , but you have no idea why.  Frustrating, isn't it? Happily, there are good tactics you can employ when this happens to find ...

Good code, bad code – an example

Friday, September 26th, 2008

[caption id="" align="alignleft" width="300" caption="Photo by jaycoxfilm"][/caption] We've written a function in pseudocode.  Twice.  Once will be using good coding practice, care and attention.  The other one won't.  Because both functions will be doing the same thing, this is a great way to see the difference that good programming practice can ...

Eight more principles of great coding

Monday, September 22nd, 2008

[caption id="" align="alignleft" width="300" caption="Photo by RBerteig"][/caption] In this article, we're looking at some more principles that can be very helpful when you're writing computer code.  These are themes that underpin everything you do as a programmer and can make a huge difference to the quality of code you produce and ...

Five principles of great coding

Friday, September 19th, 2008

[caption id="" align="alignleft" width="300" caption="Photo by Martin Kingsley"][/caption] There are lots of principles you can adhere to when writing computer code.  In this article, we're going to look at a few of the more important ones! Related posts:The 4 levels of making code workScripting for science papersFeature-creep in scientific code Related posts brought ...

How to learn scientific programming

Monday, September 15th, 2008

[caption id="" align="alignleft" width="300" caption="Photo by Wolfgang Staudt"][/caption] This article looks at the very basics of learning scientific programming.  Any scientist-programmer must start their education somewhere.  And we have some suggestions! Related posts:Building scientific tools that are actually usefulFeature-creep in scientific codeWriting code for a big scientific collaboration Related posts brought to you ...