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, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,cfd23c10fd537a80 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: Ada Calendar oddity Date: 2000/05/21 Message-ID: <8g8od2$9o6$1@nnrp1.deja.com>#1/1 X-Deja-AN: 625728859 References: <39176D85.603D7AEC@research.canon.com.au> <39178DEA.FD2C20FA@research.canon.com.au> <8f92o1$6v$1@nnrp1.deja.com> <3918BB77.693C70D6@research.canon.com.au> <8fahfv$mgt$1@nnrp1.deja.com> <39230A82.CFA6E18D@earthlink.net> <3924B35E.DC0C9CDF@acenet.com.au> X-Http-Proxy: 1.0 x53.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Sun May 21 13:30:09 2000 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; I) Date: 2000-05-21T00:00:00+00:00 List-Id: In article <3924B35E.DC0C9CDF@acenet.com.au>, Geoff Bull wrote: > It was that kind of narrow (focussed on one problem) thinking > that led to the y2k bug! No, that's a mis-characterization. The Y2K bug was a product of two unrelated phenomena: 1. Legacy code had a life time much longer than expected. 2. COBOL has very poor data abstraction capabilities, so the problem could not be solved in the obvious manner, even for well written code. In the case of Ada, it is arguable whether todays legacy code will last a hundred years in unchanged form. In any case, well written code will simply not be dependent on the range in any case, so changing the range will have no effect on existing code. If anyone was interested for example, it would be trivial to provide a version of Calendar for GNAT that did not have this limit (it requires a couple of declarations to be changed, and one simple test added to the leap year circuit). Sent via Deja.com http://www.deja.com/ Before you buy.