The secret of writing good code is the prompt "make no mistakes".
What happens when I type "MAKE NO MISTAKES"?
It's an instruction to the Ai.
To avoid blunders, code well.
This has been the bread and butter of my entire career, and I've never read anything that so clearly articulated the concept. "Blunders" is a fantastic metaphor.
The hardest part is never the "hard part", it's day in and day out remembering to not shoot yourself in the fucking face.
agree, and for me the worst ones are the quiet inconsistencies, not the big rewrites. on my side project, a small browser game, the client handled server error codes separately in 4 different actions, so when I added a new code on the server one of them just read it as "no charges left" and showed 0, no error anywhere. nobody calls that a blunder when they write it, it's just 4 slightly different ifs, but now every new feature has to remember all of them. in review it's the same, clever code is easy to spot, a second way of doing the same thing usually isn't
Programming
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev