Nature, in Code: Biology in JavaScript--Learning Programming While Discovering the Rules That Govern Life
"Nature, in Code" is a new type of textbook that teaches programming in JavaScript by implementing key concepts in biology (natural selection, genetic drift, epidemics, evolution of cooperation, etc.) - everything runs in the browser.If you are interested in learning programming, but find pure programming books, uhm, boring, this book is for you. Instead of just learning dry programming principles, you learn programming by implementing key biological concepts in code so that they run in your browser.
If you know a little (or a lot of) programming already, but want to learn more about the rules that govern life without having to pick up a dry, overpriced academic textbook, this book is for you too. You will learn some key ideas that form the basis of modern biology, from population genetics to evolutionary biology to infectious disease spread.

