3 ms·
Other shots in the foot you'd want: - Trying to refactor a big chunk of your app and have a way to rollback if needed: use Git to do version control - Revert pa
by cranium 3y ago
Other shots in the foot you'd want:
- Trying to refactor a big chunk of your app and have a way to rollback if needed: use Git to do version control
- Revert part of a commit containing bad code: make smaller and cleaner commits
- Merge huge branches to submit your project due in two hours: create smaller and independent feature branches
- Swap an implementation for an improved version without introducing bugs: create regression tests against the interface
- Collaborate with people: pick one tool and stick with it
- Setup a development environment on different machines: use Docker or other declarative setup
- Have projects die because of decision paralysis: start working on it as soon as possible when the general direction is clear
- Lose important data because of a dead drive: implement a backup strategy
- Have a drive die because of a power interruption: get an UPS