On Saturday, 14 February 2026 at 15:50:46 UTC, Brother Bill wrote:
Eiffel may be the only language that supports inheriting constructers.

I believe this all goes back to Smalltalk, where constructors are just methods on the single object representing a given class. That class object inherits from the superclass, and inherited constructors are thus not a special case at all. Busy-work plumbing of constructors in D is esthetically displeasing in a mostly elegantly designed language. But I would not call it a big deal. Shrug.

Andy

  • Do classes requi... Brother Bill via Digitalmars-d-learn
    • Re: Do clas... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
      • Re: Do ... Brother Bill via Digitalmars-d-learn
        • Re:... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
          • ... Mike Parker via Digitalmars-d-learn
            • ... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
              • ... Brother Bill via Digitalmars-d-learn
                • ... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
            • ... Mindy (0xEAB) via Digitalmars-d-learn
              • ... Mindy (0xEAB) via Digitalmars-d-learn
        • Re:... Andy Valencia via Digitalmars-d-learn
    • Re: Do clas... Steven Schveighoffer via Digitalmars-d-learn

Reply via email to