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,cc4f25d878383cc X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-12-03 06:56:44 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.maxwell.syr.edu!howland.erols.net!news-out.worldnet.att.net.MISMATCH!wn3feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc54.POSTED!not-for-mail From: "Mark Lundquist" Newsgroups: comp.lang.ada References: Subject: Re: Another Idea for Ada 20XX X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: NNTP-Posting-Host: x1MO7-377268-Px-45361@rwcrnsc54 X-Complaints-To: abuse@worldnet.att.net X-Trace: rwcrnsc54 1007391403 x1MO7-377268-Px-45361@rwcrnsc54 (Mon, 03 Dec 2001 14:56:43 GMT) NNTP-Posting-Date: Mon, 03 Dec 2001 14:56:43 GMT Organization: AT&T Worldnet Date: Mon, 03 Dec 2001 14:56:43 GMT Xref: archiver1.google.com comp.lang.ada:17340 Date: 2001-12-03T14:56:43+00:00 List-Id: "Gautier Write-only-address" wrote in message news:mailman.1007328304.17120.comp.lang.ada@ada.eu.org... > > Why not - but the more subtle you design the unit management, > the more subtle the mistakes will be... That's FUD. The same arguments were invoked against inheritance and dynamic polymorphism when OOP was invented. I think units as primitive would make a language more robust. > The choice of *one* unit system should be made *before* any > programming, otherwise you don't get out of problems. The main thrust of the idea is not conversion between unit systems. That is more of a secondary result. The main point is that you can take the idea that a unit-area is unit-length-squared, and abstract that across both measurement systems and scalar representations. -- mark