40
To code well, avoid blunders (www.seangoedecke.com)
top 6 comments
sorted by: hot top new old
[-] thingsiplay@lemmy.ml 19 points 4 days ago

The secret of writing good code is the prompt "make no mistakes".

[-] Kissaki@programming.dev 5 points 4 days ago

What happens when I type "MAKE NO MISTAKES"?

[-] thingsiplay@lemmy.ml 1 points 4 days ago

It's an instruction to the Ai.

[-] MonkderVierte@lemmy.zip 2 points 3 days ago

To avoid blunders, code well.

[-] Windex007@lemmy.world 8 points 5 days ago

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.

[-] ultimaluz@lemmy.world 4 points 4 days ago

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

this post was submitted on 22 Nov 2026
40 points (97.6% liked)

Programming

29405 readers
306 users here now

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



founded 3 years ago
MODERATORS