Challenge: Name something that a software developer should *always* do
Challenge: Name something that a software developer should *always* do.
Is there a single practice that always applies?
"Write tests". Not always worth it.
"Do code reviews". May pair instead.
"Set up a CI server". Overkill when working alone.
I can only think of 2 practices that I'd always apply:
1. Use source control. Even when working alone. Even on a small project. It's hard to imagine a circumstance where I would recommend skipping it.
2. Auto-format. If your language has a tool like Prettier, use it. I can't think of a good reason to spend time manually formatting code.