Front page | perl.perl6.language |
Postings from August 2005
From: Dave Rolsky
August 16, 2005 23:28
Message ID: Pine.LNX.firstname.lastname@example.org
On Wed, 17 Aug 2005, Sam Vilain wrote:
> Why on earth would you want to encourage such a short sighted
> programming practise? The earth wobbles like a spinning top. In fact
It's hardly short sighted to want leap seconds to be abandoned (not in
Perl but world wide). The few people who _really_ care about syncing to
midnight can still have them, but the rest of the world would be just fine
with a leap hour every couple hundred years.
> synced, etc. Date modules (which, really, people should be using) then
> have something sensible to work with and can easily provide the
> alternate times. Environments that really can't guarantee an absolute
> epoch can simply return unanchored times and let the modules throw
> exceptions when you try to convert them to real times or times with
> impossible levels of accuracy.
Great, so now code that works in one environment throws a "cannot find an
up-to-date leap seconds table" exception in another? Eek!
Your guide to all that's veg. My book blog