3 ms·
I violate #1 in only one case, the entire statement has to be one line: if (var1 != var2) return false; But having it on two lines and tabbed out without
by wvenable 9y ago
I violate #1 in only one case, the entire statement has to be one line:
if (var1 != var2) return false;
But having it on two lines and tabbed out without braces seems extremely ugly and dangerous to me.
- luckydude 9y ago100% agree with both points. Though I'm the crazy guy who does #define unless (x) if (!(x)) so I can do unless (f = popen("ps -axf")) die("popen of ps -axf");