3
comments
Unit tests be like
1 0 ReplyEver see things like:
if ((x == 0) == true)
? Or:x = y == 'z' ? true : false
? Some things just really make me worry about people, you know?1 0 ReplyI did once see
if (!x) strcpy(x, "");
It was from a VB "programmer" who was experimenting with C. In production code.1 0 Reply