4. Getting it right¶
Getting things done just isn’t enough. Readability, reliability, and maintainability are crucial – not only in science.
Goal
Getting familiar with the infrastructure necessary to deal sensibly with larger projects. Everything spanning more than 100 lines of code or taking more than two weeks to accomplish is a larger project. Working in science – and programming for getting your science done – is a larger project.
- 4.1. Version control (git)
- 4.1.1. Why version control?
- 4.1.2. Git fundamentals
- 4.1.3. Git basics: getting setup and started
- 4.1.4. Remotes: Synchronising several instances
- 4.1.5. Branches
- 4.1.6. Conflicts: merging, stashing
- 4.1.7. Collaboration: pull requests
- 4.1.8. Tags and Releases
- 4.1.9. Using web interfaces: Gitea, GitLab, GitHub
- 4.1.10. Git and binary files
- 4.2. Version numbers (SemVer)
- 4.3. Debugging
- 4.4. Testing
- 4.5. Refactoring
- 4.6. Documentation
- 4.7. Packaging