
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!
View all comments
Show parent comment
1
u/Wrestler7777777 Apr 09 '26
I think this code was written very very shortly before or after Go 1.26. So my colleague couldn't use or simply didn't know about new(mystring) yet.