Every profession has its quirks and unspoken rules, and development is no exception.
From the inexplicable faith in turning it off and on again (hey, it often works!) to the mysterious art of centering a div (this doesn't work as often🥲), here are ten secrets that every programmer will nod knowingly about.
1. If It Works, Don't Touch It
There's code, and then there's code you don't touch because the last time you did, it took three days to fix.
2. The Console Log is Your Best Friend
Who needs a debugger when you have console.log()
? It’s the Swiss Army knife of debugging.
3. Comment Your Code As If Your Job Depends on it
Self-explanatory, and yet, future you will still wonder what the past you was thinking.
4. Google Is the Co-Developer of Every Project
Stack Overflow might as well be on your payroll, considering how much it contributes.
5. Not All Heroes Wear Capes, Some Just Write Documentation
Bless those souls who actually document their code. They save lives.
6. Some Bugs Could Have Been a Feature
Sometimes the line between a bug and a feature is just a matter of timing and presentation.
7. 'It Works on My Machine' Should Be an Official Development Stage
The first stage of grief in debugging is denial.
8. Every Developer Has a Personal Repository of Snippets They Don’t Share
These are the family jewels, handed down from one generation of projects to another.
9. The More Urgent the Deadline, the More Likely You Are to Break the Build
Murphy’s Law is especially potent in the development environment.
10. The Number of Browser Tabs You Have Open Is Directly Proportional to How Close the Project Deadline Is
By the end of a project, you could probably scroll through tabs faster than you can scroll through your code.
Community is the bigger secret
Just like the secret rules shared in this article, the best tricks in development often come from the collective wisdom and contributions of the community.
If you enjoyed uncovering these secrets, consider contributing to the magic by starring our project, Webcrumbs, on GitHub. Your support helps us continue to unveil hidden gems and build tools that empower developers like you.
Thank you for reading,
Pachi 💚