I went into a rabbit hole of how to write clean code
1. Why You Shouldn't Nest Your Code
By: CodeAesthetics
Ok, in some ways I feel a bit called out. But the guy gives a pretty useful tip on how to make your code less nested and more readable. Basically, put the 'gatekeepy' up top first (example: "Your input is not a character? Stop the program" )
2. The 3 Laws of Writing Readable Code
By: Kantan Coding
Would be a good video to send to someone new like a first year grad student or undergrad! Really love how he visually shows how to improve. Man, these instructional coding programs have some really good animations. The video sent me to:
3. Best practices for writing code comments
By: Ellen Spertus
This is a beautiful blog posts 10 laws of writing good comments (and avoiding bad one). Her blog post then led me to Kernighan's Law which states:
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
Spertus graciously link us to:
4. Hacker Laws
By: Github
A really cool GitHub repo about hacker laws for developers. Fascinating stuff just about technical things but also about human organization. I like the one where if your team can't be fed with two large pizzas, it's too big!