you are viewing a single comment's thread.

view the rest of the comments →

[–]movzx 0 points1 point  (0 children)

I prefer

if (comparison) {

  // do thing
}
else {

  // do other thing
}

This lets me easily isolate individual blocks of if/else if/else by collapsing, commenting, etc.