Introduction¶
After years of study, you finally landed an opportunity to start your academic career. You know the important concepts in your field of study, you mastered the mathematical formulas you had to learn (or joyfully discovered, if that's your cup of tea).
Here comes the first task: "Could you write me a program to...".
What?! Programming? But I thought I would do <fill in your field of study>
! You dabbled with some code for some exams, but you never liked programing: it's too confusing!!
Have you ever found yourself in this situation? Then, this is the guide for you!
In this book, I'll give you the essential knowledge, principles, and tools that will help you write better programs. The goal is for you to spend less time stuck in messy code that doesn't work, and more time on the focus of your research.
Who is this for?¶
This book is addressed to all those who are not professional programmers, but have to program nonetheless. While the main focus is for people working in a research setting (PhDs, scientists, student assistants, etc.), the principles are broad and easily applicable to other fields as well.
While some programming experience is recommended, the explanations do not assume deep knowledge of any kind.
Topics covered in this book¶
The examples will be mainly written in Python, but equivalent solutions in R, Javascript or other languages will be added where possible. However, the goal it talk about principles and not strictly about the specifics. Most things should be easily transferrable to whatever programming language you will be working with.