The Notebook of a Programmer Climber Musician Ex-Soldier Woodworker and a few other things
how to clean up code.
- run your code to make sure it works
- while (work_to_do){
- make a small change
- test it
- commit to git
- }
- push to git server on local branch
- try it on another machine
- collapse git commits for code review
- test
- post for code review
How to add a new feature
- run your code make sure it works
- while (work_to_do){
- write a small test
- while (test doesn’t pass){
- make a small change
- test it
- }
- commit to git
- }
- push to git server on local branch
- try it on another machine
- collapse git commits for code review
- test
- post for code review