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-Thread: 103376,640b65cbfbab7216 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Fri, 04 Apr 2008 16:06:28 -0500 From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Untyped Ada? References: <28302e25-844c-41e1-87f1-b4a86146f330@s19g2000prg.googlegroups.com> X-Newsreader: Tom's custom newsreader Message-ID: Date: Fri, 04 Apr 2008 16:06:29 -0500 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 71.202.183.17 X-Trace: sv3-SNZ48Yf8LEGgeJUFBEQcCdl9CZirSxYU6i9PSe4WzheWAwdQ60wWr+hVi48oDykCfHXeBU/1Y9Anv88!zNP+e/G0cbv+SQs30uKYK55CB/QDVaMlulbsu6lh5GiJmXFz1cY8a3fLaUaQ5XDsIvMbqPxBTWY8!a3Cb/9dXYMMsac2CcnshrKlsCZaY+Q== X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.38 Xref: g2news1.google.com comp.lang.ada:20822 Date: 2008-04-04T16:06:29-05:00 List-Id: > > But you can do that. Provided you knew the semantics of Integer + Float > > your hands are free. Define > > > > function "+" (Left : Integer; Right : Float) return Float; > > The 'Ada way' is to define lots of types, right? So you could end up > having to maintain hundreds of these functions, couldn't you? What's to "maintain"? Not erasing the source file? Correcting errors that are discovered in function "+"? Or modifying the definition of "+" because of new requirements? I would hope "maintain" means the first, which shouldn't be a big burden.