2 ms·
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 additio
by Konfituren 10y ago
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.
- deleted 10y ago[deleted]