Writings on various topics (mostly technical) from Oliver Hookins and Angela Collins. We currently reside in Sydney after almost a decade in Berlin, have three kids, and have far too little time to really justify having a blog.
These days I'm noticing myself saying more and more frequently that Duck Typing is great, except when it's not.
An amusing issue that briefly cropped up this afternoon was when we failed to correctly negotiate a data structure inside of a Rake task. Consider the following basic task: ``
desc "a test task"
task :test, :glob do |t,args|
if args[:glob].nil?
args[:glob] = 'some default value…