Add daily emails and archive

This commit is contained in:
Oliver Davies 2024-01-03 20:00:00 +00:00
parent 7ec664a810
commit e2b6832598
379 changed files with 11132 additions and 0 deletions

View file

@ -0,0 +1,17 @@
---
title: >
The Boy Scout rule
pubDate: 2022-12-22
permalink: >-
archive/2022/12/22/the-boy-scout-rule
---
The Boy Scout rule is "Always leave the campground cleaner than you found it".
From a programming perspective, "Always leave the code better than you find it".
If you're working on some code and see some commented-out lines or unused variables, once you've finished with your changes, remove them too.
If there's a variable that could have a more descriptive name, change it.
If there are any other refactors you can do, do them and leave the code better than before and easier for the next Developer (whether it's you or someone else) to work with.