Re: Constructor inheritance (or lack thereof)

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Ravichandran J.V. (jvravichandran_at_yahoo.com)
Date: 12/23/04


Date: Wed, 22 Dec 2004 23:54:07 -0800


"Good."

I am glad that you approve but please be as agreeable as I am.

"You don't overload a signature - "

I don't have access to my computer otherwise I would have copied/pasted
the exact error that a compiler generates - No matching signature found
or something similar is the error when you try to early bind a call to a
non-existent method and similarly, "a method with the same
name/signature already exists...". I will post back on the exact error
that appears.

"I don't see why I shouldn't voice my disagreement."

You can but please refrain from attributing opinions that are never
voiced by me, which is what you do and which is what and why I objected
to in our previous interaction as well but you simply would not stop.

"Ah, great. Does that mean you retract your various insults on the
thread ages ago where you accused me all manner of stupidities.."

I never insulted you as I said I only objected to your attributing all
kinds of things which you claimed were posted by me. But if you insist,
I do not mind retracting any statements I made against you.

"It is a means to achieve inheritance because without
implementing the base' default construcotrs, the derived class cannot
inherit the overloaded constructors of the base." (What you meant by
that exactly is hard to say, given that constructors aren't inherited
anyway.)

It was written way back in 2001 but the argument arose because I knew
constructors were not inherited so how did that statement come into the
article is something I cannot explain. These articles were part of a
book (Let me say humbly that I, too, can write a book (even if you think
that it must be full of mistakes!) and is titled C+C++=C# ! What I am
trying to understand is how that statement got into the article! But,
since it was a mistake on my part I will accept that what you have
quoted above is correct and I can only explain that it was a typo error
because I cannot think of any other reason to explain it.

It's also still in your list of articles:
http://www.developersdex.com/gurus/default.asp?p=3133

I will remove it from the list.

"To answer your previous challenge though:"

This is what I meant when I said, "There you go again!" in this same
thread and what I mean when I say "Please do not attribute
qualities/opinions that are not mine."

I simply posted a question to you and you bloat it to a challenge.

"It's relevant to constructor chaining when writing ..."

writing what???

with regards,

J.V.Ravichandran
- http://www.geocities.com/
  jvravichandran
- http://www.411asp.net/func/search?
  qry=Ravichandran+J.V.&cob=aspnetpro
- http://www.southasianoutlook.com
- http://www.MSDNAA.Net
- http://www.csharphelp.com
- http://www.poetry.com/Publications/
  display.asp?ID=P3966388&BN=999&PN=2
- Or, just search on "J.V.Ravichandran"
  at http://www.Google.com

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



Relevant Pages

  • Re: inheritance, yes, but how?
    ... > Making class based inheritance in Javascript is hard because Javscript ... > Now, if you understand this, you can see that treating constructors as ... > function extend(classA, extenderB) { ... > It requires a correct implementation of ECMAScript to work:) ...
    (microsoft.public.scripting.jscript)
  • Re: The Language I want
    ... abstract classes are like a contract saying this class cannot be ... class constructors and destructors as well as object ... instantiation), inheritance is useless. ...
    (comp.lang.misc)
  • Re: Intellisense hints on class constructor
    ... thinking it would only be visible in the object browser. ... new instance in the test class, the intellisense hints showed my ... Maybe having some of the constructors ... > get 8 overloads each with a signature and comment below). ...
    (microsoft.public.dotnet.languages.csharp)
  • Copy Constructors/Assignment Operator w/ Inheritance
    ... I'm trying to get inheritance and constructors clear in my head (and ... simply because in the case of D and E they'll call the base class' ... their members "memberwise", and call the base class copy constructor. ...
    (comp.lang.cpp)
  • Re: inheritance, yes, but how?
    ... Making class based inheritance in Javascript is hard because Javscript ... var superObj = new Object; ... var foo = new Foo; ... Now, if you understand this, you can see that treating constructors as ...
    (microsoft.public.scripting.jscript)