Better HN
topnewbestaskshowjobs
Log inSign up

Konfituren

2 karma · joined Jun 3, 2016 (10y ago) · 1 submissions

Submissions

comment 10y ago · link · parent

So you're trying to imply your logical inversion prevents bad coding habits?

What happens when people actually do start using !strcmp() and then add an additional != false anyway?

Your example doesn't show that it's hard to understand what ==0 means, it shows that some people don't understand booleans, which is no less true of your method than the other.