Writing good code makes life easier, says Bioinformatics Zen's Michael Barton. In this post, he lays out several tips for doing so. First, be descriptive, especially when choosing variable and method names. Being too concise could pose problems when you or someone else is trying to read or update your code in the future. Second, be dry. "DRY means don't repeat yourself," he writes. Finally, check out reputable books and open source libraries, which often will have solid example code to learn from.

Get the full story

This story is free
for registered users

Registering provides access to this and other free content.

Register now.

Already have an account?
Login Now.

Gene drives might run into biological resistance, the Economist reports.

Forensic experts exhumed painter Salvador Dalí's body to collect DNA for a paternity test, CBS News reports.

Yale Environment 360 writes that synthetic and conservation biologists aren't always on the same wavelength, but they are trying to reach an understanding.

In Science this week: full CRISPR locus integration complex structure, and more.