40
To code well, avoid blunders
(www.seangoedecke.com)
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
Follow the wormhole through a path of communities !webdev@programming.dev
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