From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d1df6bc3799debed X-Google-Attributes: gid103376,public From: mheaney@ni.net (Matthew Heaney) Subject: Re: Syntax for tagged record types (was Re: Not intended for use in medical,) Date: 1997/05/23 Message-ID: #1/1 X-Deja-AN: 243259010 References: <3.0.32.19970423164855.00746db8@mail.4dcomm.com> <33828299.2A3@world.std.com> <33850721.49BF@sprintmail.com> Organization: Estormza Software Newsgroups: comp.lang.ada Date: 1997-05-23T00:00:00+00:00 List-Id: In article <33850721.49BF@sprintmail.com>, johnvolan@sprintmail.com wrote: >Another issue with discriminants as constructor parameters is that there >is no provision for having multiple overloaded constructors with >different sets of parameters. Which is precisely the reason for having named constructors. The parameters alone don't tell you enough information. Not being able to give the different constructors for a type a descriptive name was cited as a criticism of C++ in Joyner's paper. -------------------------------------------------------------------- Matthew Heaney Software Development Consultant (818) 985-1271