Clean Code
If we all checked-in our code a little cleaner than when we checked it out, the code simply could not rot. The cleanup doesn’t have to be something big. Change one variable name for the better, break up one function that’s a little too large, eliminate one small bit of duplication, clean up one composite if statement.
Further learning
While reviewing my notes for Clean Code, I queried ChatGPT for JavaScript code examples of the concepts I had highlighted (since all code snippets in Clean Code are in Java).
Deep dive
After reading Clean Code, I turned to Ryan's online clean code guide adapted for JavaScript.