31 May '14, 2am

@timtyrrell @realntl Not sure if I've been disparaged with the unicorn comment, but anyway, try this:

EDITORIAL NOTE : This is the first of hopefully many guest posts to the RBP blog. If you are interested in writing an article for us, contact any of the RBP bloggers for details on how to submit content. Sandi Metz recently blogged about ruby case statements being similar to calling is_a? on a particular object, and how we should be using duck typing rather than inspecting the type of the class. Her solution was to add methods to some core classes so that they all “quacked” the same way. I completely agree with Sandi’s sentiments, but at the same time, I don’t like reopening core classes, so I wanted to see if I could accomplish the same task, but minimize my impact on any core classes. The way I chose to accomplish this task is with the double dispatch and visitor pattern . Double Dispatch The way the double dispatch pattern works is by adding a method to each object that...

Full article: http://blog.rubybestpractices.com/posts/aaronp/001_double...

Tweets

@cdl yes. it's pretty much possible with any ru...

sinatrarb.com 30 May '14, 8pm

helper. This addon improves the streaming API by making the stream object immitate an IO object, turing it into a real Def...

Main Street Design and Best Practices

“We all know where our Main Streets are, but do we know what they are and why they matter? Whether they are named First Av...

Justin Rose misses #TheMemorial cut after calli...

golfchannel.com 30 May '14, 11pm

DUBLIN, Ohio – For the second time in two starts Justin Rose found himself in the middle of a bizarre rules infraction. Ro...

[POST]: Mariner Of The Seas Cruise - Double The Size, Twice The Fun!

[POST]: Mariner Of The Seas Cruise - Double The...

aspirantsg.com 30 May '14, 7am

Just when I thought that I had enjoyed the best of cruises on Royal Caribbean International Legend Of The Seas , Mariner O...