Skip to Content
Effective Computation in Physics
book

Effective Computation in Physics

by Anthony Scopatz, Kathryn D. Huff
June 2015
Intermediate to advanced
550 pages
13h 27m
English
O'Reilly Media, Inc.
Content preview from Effective Computation in Physics

Chapter 19. Documentation

Computational science is a special case of scientific research: the work is easily shared via the Internet since the paper, code, and data are digital and those three aspects are all that is required to reproduce the results, given sufficient computation tools.

Victoria Stodden, “The Scientific Method in Practice: Reproducibility in the Computational Sciences”

Scientists are nomads. As students, they contribute to a piece of research for no more than four years at a time. As post-docs, their half-life on a project is even shorter. They disappear after three years, maximum. Even once they settle down as faculty or laboratory scientists, their workforce is composed primarily of these fly-by-night individuals. As such, research work in laboratories and universities occurs on a time scale rarely longer than the tenure of a typical PhD student.

In this environment, it is very common for scientists to crank out a piece of code as quickly as possible, squeeze a few publications out of it, and disappear to lands unknown. One victim in all of this is the student or researcher that follows them, seeking to extend their work. Since the first scientist working on a project valued speed over sustainability, the second researcher inherits a piece of code with no documentation. Accordingly, the original work, often termed “legacy code,” seems to be understood only by its author. The new contributors to such projects often think to themselves that rewriting the code ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learn Physics with Functional Programming

Learn Physics with Functional Programming

Scott N. Walck
Math for Deep Learning

Math for Deep Learning

Ronald T. Kneusel
Effective Python

Effective Python

Brett Slatkin
Good Math

Good Math

Mark C. Chu-Carroll

Publisher Resources

ISBN: 9781491901564Errata PageSupplemental Content