KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm sure it is negligible, but given that I want to assign true to a boolean field from within a method, does this choice make any difference? If so, why? field = true; // could already be true, but I don't care versus if(!field) field = true;
Tags (comma-separated)
Save Edits
Cancel