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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,896d86ef3723978c X-Google-Attributes: gid103376,public From: dan@it.uq.edu.au (Dan Johnston D.B.) Subject: Re: maintenance of overriding subprograms Date: 1997/09/11 Message-ID: <5v87gd$r00$1@miso.it.uq.edu.au>#1/1 X-Deja-AN: 271525979 References: <340C2EA5.B9F@gsfc.nasa.gov> <340DCE1D.6C5F@bix.com> <5v3dlu$pgu$1@miso.it.uq.edu.au> Organization: School of Information Technology, University of Queensland Newsgroups: comp.lang.ada Date: 1997-09-11T00:00:00+00:00 List-Id: In dewar@merv.cs.nyu.edu (Robert Dewar) writes: >Dan says ><correct spelling of this word in Australian English. ( I know the Americans >spell it with "ize", but am not sure how it is spelt by English people.) >Anyway, this attempted overriding of the routine in Ada.Finalization resulted >in a constraint error because of the failure to initialise the structure, >rather than a compiler error which one would normally expect from misspelling >an identifier.>> >Although there is no one authority for American spelling that is definitive, >the spelling with Z is universal in the US. In England, there is one >authority, the OED, and as we have discussed before in this newsgroup, >the OED ONLY permits the spelling with the Z, and does not recognize >the spelling with an S. >This is the case, despite the fact that many Englishmen would swear that >British English requires an S. Thus it is not good enough for someone >from Australia to merely claim that this is the standard Australian >English spelling, you need to cite some appropriate authority. Pretty irrelevent to the newsgroup, but the Macquarie Dictionary (which I believe to be the standard Australian dictionary ) has "initialise" and doesn't have "initialize". ("recognize" which you use above isn't in it either.) >All of which of course is besides the original point, which is that in both >England and Australia, and who knows where else, people do indeed spell >it with an S, and get no initialization (or finalization) as a result, >which can be quite a surprise. >In fact on our list to do with GNAT is always to warn if a primitive >operation is defined on a controlled type with the names Initialise or >Finalise if the profile matches that of the Z-equivalents. Good, I hope not to be caught again, but the "ise" comes so intuitively that it might. (After all, I had to put with Ada.Finalization; at the top so was aware of the problem.) Actually "finalize" does make it into the Macquarie dictionary (although as a somewhat secondary entry): finalise ... To put in final form; conclude, settle. Also, finalize. The main point is that not syntactically distinguishing between overriding declarations and new declarations is prone to undetected errors. dan. dan@cs.uq.edu.au