Tag Archives: duck typing

Go Quacks Right

In Ruby Module#include at Odds with Duck Typing I lamented the fact that Ruby wouldn’t treat an object as an Enumerable unless that object included the Enumerable interface explicitly. Well Google’s new Go language has no such limitation. If it quacks, … Continue reading

Posted in Ruby | Tagged , , | Leave a comment