🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lang.c
Article #9342

Re: Re: Calendar Functions (simpler leap year calculation)

#9342
From: Bill Wyatt
Date: Fri, 19 Sep 1986 15:55
16 lines
1349 bytes
[ mass quantities of simple vs. complete leap year calculations arguments ]
> 
> No, really, look:  FIRST, decide the domain for the function.  THEN design
> the function to work well in that domain.  IF someone tells you that the
> function doesn't work for his problem (outside the domain of the function),
> tell him that hammers don't work for sawing wood, either.

Trouble is, in the real world, your function will be re-used outside its
proper domain, and by someone who has no idea your function is even needed,
much less not suited for his/her application. If the cost of doing it right
is small, then do it right. The trouble with that sentence is the problem of
determining the cost of not doing it right.
-- 

Bill    UUCP:  {seismo|ihnp4}!harvard!talcott!cfa!wyatt
Wyatt   ARPA:  wyatt%cfa.UUCP@harvard.HARVARD.EDU
Technical Details
Message-ID: <256@cfa.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!husc6!talcott!cfa!wyatt
References: <573@opus.nbires.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!husc6!talcott!cfa!wyatt
From: wyatt@cfa.UUCP (Bill Wyatt)
Newsgroups: net.lang.c
Subject: Re: Re: Calendar Functions (simpler leap year calculation)
Message-ID: <256@cfa.UUCP>
Date: Fri, 19-Sep-86 11:55:57 EDT
Article-I.D.: cfa.256
Posted: Fri Sep 19 11:55:57 1986
Date-Received: Sat, 20-Sep-86 01:49:50 EDT
References: <573@opus.nbires.UUCP>
Organization: Harvard-Smithsonian Center for Astrophysics
Lines: 16