unless versus if !
Why should you use unless when it is little more than if !?
Because unless let's you write code like this:
dave.punch george unless george.is_hard?
Isn't that what code should look like!
The blog of Rahoul Baruah from 3hv Ltd
Why should you use unless when it is little more than if !?
Because unless let's you write code like this:
dave.punch george unless george.is_hard?
Posted on Thursday, August 16, 2007
No comments:
Post a Comment