Re: Broken date math on AppleScript 2.0
Re: Broken date math on AppleScript 2.0
- Subject: Re: Broken date math on AppleScript 2.0
- From: Philip Aker <email@hidden>
- Date: Fri, 22 Feb 2008 06:03:53 -0800
On 2008-02-21, at 15:52:39, Mark J. Reed wrote:
"Unwarranted" is a value judgement. Applescript is designed for
users who neither know nor care how numbers are represented in bits.
Automatically promoting makes perfect sense. It's the fact that
the addition doesnt yield the right result numerically that makes
it a bug.
It's not only the bit width. It's the actual representation. Ever had
to deal with a government form?
Name: Joe
Age: 4.2E+1
Income: 4.2E+10 /*yeah dream on buddy*/
Out here in the wild west, an entry like that will have the clerk
scowling at you in no time flat.
Maybe that was good enough in 1992, but not anymore. And just
because you two happen to think that unwarranted integer->float
promotion is ok doesn't make it correct.
Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden