KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Which is better in general? Do you put the fault condition at the top or bottom? if (noProblems == true) { // do stuff } else { // deal with problem } Or: if (noProblems == false) { // deal with problem } else { // do stuff }
Tags (comma-separated)
Save Edits
Cancel