This is an old revision of the document!
Modular routines
One task per routine and well-defined interfaces
Modularisation is one of the key concepts not only of (software for) reproducible research, but of software development as a whole. Without modularisation no reuse, and without reuse no chance to tackle complex tasks.
Which tool to use
Note: This section is clearly opinionated. There are definitely other tools available. However, this is the tool the author recommends from own experience.
Python
Probably currently the best available open-source high-level language for scientific programming
SciPy
Python-based ecosystem of open-source software for mathematics, science, and engineering
NumPy, SciPy, Matplotlib, iPython, Sympy, pandas