101 reputation
1
bio website pseudo-r4ndom.blogspot.com
location Cleveland, OH
age 39
visits member for 3 years, 6 months
seen Nov 26 at 15:24

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