E. Saynatkari wrote:
> Joe Van Dyk wrote:
>> On 2/27/06, Gregory Seidman <gsslist+ruby / anthropohedron.net> wrote:
>>> Do as much as you can with meta-programming, since it should be comfortable
>>> from a Ruby background. The rest... the rest is just syntax.
>>>
>>> } Joe
>>> --Greg
>> 
>> 1.  Templates (that aren't in the STL) scare me.
>> 2.  I've looked at the source code for the Boost library and ran away 
>> screaming.
>> 3.  If I did write code like that, then not many people in my group
>> would be able to easily grok my code.  Perhaps they'll just need to
>> bone up on the newest C++ stuff and read the requisite 8 books before
>> touching my code.
> 
> Does this help?
> 
>   template<typename duck>
>   void quack(duck& d) { duck.quack(); }

(Insert about eight thousand lines of compilation
 errors and then s/duck.quack/d.quack/.)

> E


E

-- 
Posted via http://www.ruby-forum.com/.