Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: More on expressions

From: rotenca:telvia:it at: 9-Feb-2003 12:06

Hi Sunanda,
> I know -- believe me I do -- that within 24 hours of implementing a median > algorithm that handled numerics, I'd be on the wrong end of this phone call: > > "It's broken! It's not displaying the median.....Yes, I know we said they'd > be numbers -- but not always....On a Tuesday afternoon of course the three > things could be city names....No of course we don't want the middle one > alphabetically in that case -- why on earth would anyone want *that*!?....We > need the median *population* -- unless the user logged on is a member of the > ethics committee then they'd probably want the city with the median distance > from the North Pole -- but check with them first, that's only a
> should I know if there are any other "special cases" like that? -- you wrote > the code: it's your job to know what median means.....And we need it fixed > within 20 minutes."
You are right! This is the real world. :-( --- Ciao Romano