|
Now I am more confused. When I add pure numbers I have no concerns for leap year or for months with varying number of days. With numbers I supposed you had a base, like decimal or binary and whatever they call that 16-base thing. (You can tell they didn't have computer courses back when I went to college.) But with dates you move in to another whole set of problems and decisions about conclusions that have no underlying mathematical certainty. --------------------------------------------------------- Booth Martin http://www.MartinVT.com Booth@xxxxxxxxxxxx --------------------------------------------------------- -------Original Message------- From: RPG programming on the AS400 / iSeries Date: Thursday, May 08, 2003 12:31:02 To: rpg400-l@xxxxxxxxxxxx Subject: Re: back to: improving rpg. was: what is object oriented programming Booth Martin wrote: .It'd seem to me that adding > 1 year, 2 months, and 6 days to February 27th and getting the correct answer > back even in a leap year is about as OO as one can get? ... Regarding your specific example, that's really no different than adding 1 thousand 2 hundred and 6 to some number, which is clearly not OO. ... Which brings me back to my original point. Let's discuss specific RPG enhancements on their own particular merits, and not because they fit some definition of "OO". Cheers! Hans .
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.