Programming in the small
I've really enjoyed reading Ivan Moore's Programming in the Small series. Lots of really nifty observations on how to improve your code a little bit at a time. My favorite quote thus far:
Another "programming in the small" style thing that I often see, even by people who understand non-interacting fermions, are conditionals that are more complicated than they need to be....
public boolean isWhatever() {
if ( someCondition() == true ) {
return true;
} else {
return false;
}
}
Must control fist of death.
Written on August 19, 2006