101 reputation
1
bio website pseudo-r4ndom.blogspot.com
location Cleveland, OH
age 38
visits member for 2 years, 9 months
seen Dec 19 '13 at 20:50

Jul
19
comment Best practice on if/return
Your two cases are only equivalent if do something includes a return. If not, the second code will execute do somethingelse regardless of the if predicate which is not how the first block works.
Jul
10
awarded  Supporter