An engineering degree taught me how to use Karnaugh maps to optimize boolean expressions. Running a software company taught me to not.
-
-
If you've got complicated business logic it's easier to reason about commented cascading if/then statements than return (a && (b||!c)) || d
-
@patio11 Or you could just leave a big comment like I did here: https://github.com/php/php-src/blob/e6ed53e011bee5ebb681e5a13db31ee7f08ef3d2/ext/standard/random.c#L105-L113 … (Also,@tqbf might like that implementation.) - 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.