TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

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

Print Reply
Subject:
From:
Reply To:
Date:
Fri, 1 May 1998 22:20:28 -0400
Content-Type:
text/plain
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