TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender: "Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
Date: Fri, 1 May 1998 22:20:28 -0400
Parts/Attachments: text/plain (8 lines)
>Using discriminants to serve the role as parameters to constructors
>seems to be inappropriate, unless their values are seen as relevant
>throughout the life of the object.  If they are only affecting the
>initial value of the object, it would seem to be better ...
So you would prefer not to specify the Initial_Color of a Car_Type
along with its Make and Model, but rather take the default color
and then paint it?  Why does that seem to be better?

ATOM RSS1 RSS2