Mnemonic for Duck Typing.
I’m currently read the Ruby Cookbook and found a good explanation for duck typing. You know, the concept to treat objects according to their methods rather their classes/modules. It might be well known to you, but i like to share it anyway.
Duck Typing means:
“… if an object quaks like a duck, just go ahead and treat it like a duck”
Tags: book, duck-typing, mnemonic, programming, ruby





December 19th, 2007 at 4:48 am
Tramadol hcl 50mg….
Tramadol….