3 ms·
I agree. (!someBool == anotherBool) very bad code if you ask me.
by jay_kyburz 3y ago
I agree. (!someBool == anotherBool) very bad code if you ask me.
- amatecha 3y agoyeah, it's reassuring that for most (all?) of these I'm like "I would never write that"... though I also lean towards very "simple" code that is not only blatantly clear but totally non-"clever". I'd rather the early-in-career dev we bring in 6-12mo later can read it and immediately parse it. Plus it's easier for ME 6-12mo later! hahah :)