Re: How I learnt to love Perl
by timr on Sunday December 07, 2008 @02:20PM
(#389029)
Ruby's way of doing things is not necessarily "right". It's different.
In particular, if your fundamental types are fundamentally different, there's a strong argument that they should have different interfaces. Object-oriented programming does not require that all types be polymorphic, and pretending that they are is a source of confusion.
In particular, if your fundamental types are fundamentally different, there's a strong argument that they should have different interfaces. Object-oriented programming does not require that all types be polymorphic, and pretending that they are is a source of confusion.