From: Jeffrey Schwab Date: 2006-02-07T10:43:21+09:00 Subject: Re: Ruby jargon and slang Matthew Smillie wrote: > On Feb 6, 2006, at 13:58, Jeffrey Schwab wrote: > >> Hal Fulton wrote: >> >>> zdennis wrote: >>> >>>> um... the push operator << >>>> >>>> some folks call it the less-than-less-than thing, but that seems >>>> soo long. >>> >>> Noted. I usually call it the append operator. >> >> >> In C++, it's often called the insertion operator. I have been >> thinking of it as such in Ruby. > > > So, if it operates like a duck... Exactly. I never understand why people think of duck typing as being unique to dynamic languages. C++ has great support for static, generic programming, and a lot of what Ruby does at run-time, C++ can do at compile-time. Of course, Ruby has plenty of advantages of its own. :)