c/programming_horror · by Ategon@programming.dev · 3yIf only there was a better way 62 points · 14 comments · view on lemmy.world
14 Comments
OsrsNeedsF2P@lemmy.ml · 7 pts · 3y
If !!true
burgersc12@sh.itjust.works · 3 pts · 3y
pe1uca@lemmy.pe1uca.dev · 3 pts · 3y
if (!(1-1))
adj16@lemmy.world · 6 pts · 3y
I have to know what that comment says
Ategon@programming.dev · 7 pts · 3y
Comment leaked
Ignore the double test text
adj16@lemmy.world · 1 pts · 3y
Well now I’m even more disappointed than I was originally
Quasari@programming.dev · 4 pts · 3y
Wow I'm a comment
I like mine better
ndotb@programming.dev · 5 pts · 3y
De Morgan strikes again!
lasagna@programming.dev · 5 pts · 3y
Unit tests be like
CaptPretentious@lemmy.world · 4 pts · 3y
I like to think it's a former web designer who's thinking Important
docAvid@midwest.social · 3 pts · 3y
Ever see things like:
if ((x == 0) == true)? Or:x = y == 'z' ? true : false? Some things just really make me worry about people, you know?VaxHacker@programming.dev · 1 pts · 2y
I did once see
if (!x) strcpy(x, "");It was from a VB "programmer" who was experimenting with C. In production code.spacesweedkid27@lemmy.world · 1 pts · 3y
That moment when I forget my axioms of boolean algebra