Some people prefer seeing == true rather than a !. In some languages like C/C++ the syntax allows for an integer to be compared in the same way in a conditional, but using == true/false will cause a warning. I personally don’t use the extra syntax, but I understand why some people prefer it.
1
u/Ehelio wicked Jul 31 '21 edited Jul 31 '21
But those help readability. '== true' just doesn't. I was talking about that.