Yet Another Case Question

John Machin sjmachin at lexicon.net
Mon Feb 24 02:39:42 EST 2003


bokr at oz.net (Bengt Richter) wrote in message news:<b3boet$vt9$0 at 216.39.172.122>...
> On 23 Feb 2003 15:35:31 -0800, sjmachin at lexicon.net (John Machin) wrote:
> >The problem is one of where you drive in your peg on the scale between
> >bit-by-bit exactness and "equivalent for the job in hand". Bitwise
> >exact is unfortunately all too easy and all too often not a bright
> >idea.
> >
> >Skip the admittedly sometimes enlightening chats with 7yos. Moving
> >outside the domain of variable names into the real world, try talking
> >to the computer system users and customers who are affected by
> >sillinesses such as:
> >
> >(1) rejecting customer transactions because "John Citizen" != "JOHN
> >CITIZEN"
> >
> >(2) rejecting customer transactions because "John  Arthur" != "John
> >Arthur"
> >
> >(3) doubling taxes because "000123456" != "123456"
> >
> >and ask them what they think of bit-by-bit exactness.
> >
> Bit-by-bit exactness has nothing to do with those examples.
> If the cook can't cook, the solution is not oatmeal uber alles.
> The silliness is in flawed product development, not the language.

I wouldn't call it "flawed product development"; "flawed" certainly,
but "product development" tends to indicate that some thought went
into the process. My contention is that no thought about the
difference between bitwise equality and semantic equivalence went into
the "designs" that caused the above examples, and not much thought
(pax Guido; he wanted to fix it in Python) went into the products
called "languages" who say that "foo_bar" is not semantically the same
as "fooBar".




More information about the Python-list mailing list