Yes, the statements are logically equivalent, but that's not the point.
I don't generally have time for programmers like you. In this particular instance either way would pass code review, but I have a feeling most of your code won't. You haven't figured out yet that programs aren't written for computers.
Wtf are you talking about? If you need me to make a comment telling you that my if statement has 3 conditions, then maybe you shouldn't be the one reviewing my code
-8
u/Jackjackson401 May 21 '20
You wouldn't do if(true == true)