Archive for March, 2009

Testing and the scientist-programmer

Monday, March 30th, 2009

[caption id="" align="alignleft" width="300" caption="Photo by dullhunk"][/caption] You do test your code, right? Well?  We certainly hope so. Testing can be a pain.  But it should also be a habit.  And we think it's pretty uncontroversial to say that testing your code is a Good Thing.  The Scientist-Programmer often finds a tension between ...

The basics of … Java

Monday, March 23rd, 2009

Image via Wikipedia Java is a object oriented language developed by Sun Microsystems. It was designed from scratch to be simple, secure and platform independent. It has a large and active community and recently most of the code has been made open source. This post looks covers the ...

The oddities of being a scientist-programmer

Monday, March 16th, 2009

[caption id="" align="alignleft" width="240" caption="Photo by jurvetson"][/caption] The scientist-programmer is in many ways a peculiar being.  Most of what you do each day is programming, yet the reason for your (professional) existence is to produce good science.  We think it's worth just taking a moment to think about this. Lots of prototyping ...

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 ...