# RootPrompt.org   Nothing but Unix.[Home] [Features] [Programming] [Mac OS X] [Search]

 All For 19 Seconds - Worse Than Failure

This is funny.

"Date and Time computations aren't easy. Unless you're fortunate enough to use Metric Time, there are a whole lot of uneven measurements to work with. Sixty seconds in a minute. Twenty four hours in a day. Thirty, thirty one, twenty eight, maybe twenty nine days in a month. Fifty two point something weeks in a year. It's just ugly.
Fortunately, just about every programming language out there has library code to help with the math. Naturally, many certain programmers chose to ignore this library code and hack their own. Like Yuri's predecessor. He was presented with a simple problem: add nineteen seconds to the current date/time in Perl."
All For 19 Seconds - Worse Than Failure

 (Submitted by Noel Thu Sep 27, 2007 )


Our content can be syndicated: Main page Mac Page

Copyright 1999-2005 Noel Davis. Noel also runs web sites about sailing and kayaking.
All trademarks are the property of their owners.
All articles are owned by their author