It's a question of taste. Some people's taste works like this: If it's in Rails, it must be the right thing to use. Other people's taste works like this: #try is simpler than #andand, and simpler is better. Others prefer andand's more natural syntax regardless.
For example, I prefer #andand's syntax for methods with parameters:
Comments
It's a question of taste. Some people's taste works like this: If it's in Rails, it must be the right thing to use. Other people's taste works like this: #try is simpler than #andand, and simpler is better. Others prefer andand's more natural syntax regardless.
For example, I prefer #andand's syntax for methods with parameters:
#andand handles methods with blocks: foo.andand.into { ... } is a common pattern, so #andand bakes it in: For some strange reason, I feel like I've been using it longer than anybody alive on the planet.