re: How Do You Name Your Boolean Variables? VIEW POST

FULL DISCUSSION
 

usually something that makes grammatical sense paired with if

if(userExists && userHasValidCredentials) { handeLogin(user) }

I'm also not worried about long variable names because VSCode fills them in for me, and most editors do that for you.

code of conduct - report abuse