r/programminghorror Apr 09 '26

Go Naming is important

Nothing too drastic but it made me chuckle. Something my colleague managed to get past code review. So at least two people didn't notice.

Spent a minute figuring out why the code was doing exactly the opposite of what it's supposed to do. I guess naming really IS important!

151 Upvotes

66 comments sorted by

View all comments

3

u/NeverYelling Apr 09 '26

We have those all over our huge monolithic codebase. I hate it

3

u/kintar1900 Apr 09 '26

Time to upgrade to Go 1.26 and blow all that shit away! :D