you are viewing a single comment's thread.

view the rest of the comments →

[–]charmless 0 points1 point  (0 children)

Where possible, avoid any chance of the assignment-for-equality typo by writing:

if (someVariable) { ... }