The authors of programming4scientists have published a nice blog post with several tips on how to avoid distractions while programming:
programming4scientitst – Stay on target!
I think this is a major issue for all people working in bioinformatics, because compared to the classical computer scientist, we bioinformaticians have less culture on this topic, and generally there is [...]

