This is a living document that I add to when I discover something that helps me produce more quality code per unit of time.
Code is read and run much more than it is written - if you write it well, you save yourself much headache down the road.
- Use
git commit --verbose
when committing. This allows you to easily check your work and catch if there's any unintended changes, and keep the diff as clean as possible. - When writing a ticket, add more context than you think is needed. Overexplain yourself. It's easy to think it's obvious in the moment, when you have all the context loaded in your brain - but future self and others will have a much easier time understanding.