Jump to content

Talk:Inheritance/Single

From Rosetta Code
Revision as of 15:33, 4 February 2010 by rosettacode>UnderBot (moved Talk:Inheritance to Talk:Inheritance/Single)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

I would like to see a new requirement of this task: to pass arguments to the constructor of the base class. All the object-oriented languages I know can do this, but the syntax is different. --128.97.245.51 01:00, 7 June 2009 (UTC)

I'm tempted to say that that should be another task, so that we have the inheritance itself separated from the constructor chaining. At least when it comes to fundamental features, small clear steps are better IMO than complicated mixing of everything together. —Donal Fellows 23:26, 7 June 2009 (UTC)
Cookies help us deliver our services. By using our services, you agree to our use of cookies.