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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8c424d8135e68278 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-12-12 10:02:42 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!chcgil2-snh1.gtei.net!news.gtei.net!wn1feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc52.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Ada2005 References: X-Newsreader: Tom's custom newsreader Message-ID: <6ZMR7.38074$ER5.458476@rwcrnsc52> NNTP-Posting-Host: cWMR7-243033-ER5-457357@rwcrnsc52 X-Complaints-To: abuse@attbi.com X-Trace: rwcrnsc52 1008180162 cWMR7-243033-ER5-457357@rwcrnsc52 (Wed, 12 Dec 2001 18:02:42 GMT) NNTP-Posting-Date: Wed, 12 Dec 2001 18:02:42 GMT Organization: AT&T Broadband Date: Wed, 12 Dec 2001 18:02:42 GMT Xref: archiver1.google.com comp.lang.ada:17850 Date: 2001-12-12T18:02:42+00:00 List-Id: > >> Best example is the object oriented part, because it is not possible to have > >> constants as components. > Why would anyone want to? Isn't it rather stupid to allocate space in several > objects to a field that will always be the same? I understand why C++ does this: Not all records are designed de novo. For instance, in interfacing to MS Windows you will find lots of places where a particular interface record field is a constant.