POV-Ray : Newsgroups : povray.off-topic : Learning C# : Re: Learning C# Server Time
28 Jul 2024 22:20:45 EDT (-0400)
  Re: Learning C#  
From: Francois Labreque
Date: 28 Sep 2012 13:41:47
Message: <5065e15b$1@news.povray.org>

> On 28/09/2012 03:13 PM, Orchid Win7 v1 wrote:
>> So I'm sitting hear reading some C# books.
>
> Heh. It amuses me that run-time polymorphism via inheritance is /the/
> central contribution of the OO movement, and here I am reading a book
> warning me not to use inheritance under any circumstances unless
> absolutely unavoidable...

So, what's their solution?  You have to reinvent the wheel all the time?
So if you need a linked list of widgets and a linked list of gizmos, you 
have to have two complete sets of add(), remove() and iterate() methods?

-- 
/*Francois Labreque*/#local a=x+y;#local b=x+a;#local c=a+b;#macro P(F//
/*    flabreque    */L)polygon{5,F,F+z,L+z,L,F pigment{rgb 9}}#end union
/*        @        */{P(0,a)P(a,b)P(b,c)P(2*a,2*b)P(2*b,b+c)P(b+c,<2,3>)
/*   gmail.com     */}camera{orthographic location<6,1.25,-6>look_at a }


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.