3 ms·
If someone doesn’t have a basic grasp of Boolean logic then maybe programming is not the right choice..
by tigershark 8y ago
If someone doesn’t have a basic grasp of Boolean logic then maybe programming is not the right choice..
- HolyHaddock 8y agoEarnestly: Yes. But there may well be programming tasks or jobs that they are suited to, for which no understanding of boolean logic will make no difference on a day to day basis.
- deleted 8y ago[deleted]
- krapp 8y agoDoesn't matter. Unless one option leads the compiler to generate better code than the other, it's a matter of aesthetics, not correctness. And since you don't even need to be a programmer to understand what the first one means, it's still easier to read.
- moomin 8y agoAn observation that comes from studying foreign languages: you learn “and”, “or” and “not” a long time before “if”.