# The following was supposedly scribed by
# A. Pagaltzis
# on Thursday 16 June 2005 03:37 pm:
>* Eric Wilhelm <[EMAIL PROTECTED]> [2005-06-16 23:40]:
>> >As for the “'foo!' => \$foo” thing I misunderstood your
>> >example (I thought you were pointing out a bug or ommission)
>> >because I *expect* the exact behaviour that you say is
>> >“non-strict”.
>>
>> This seems to be a common reaction? Why?
>>
>> You wouldn't say
>>
>> --foo --no-foo
>>
>> if you just meant
>>
>> --no-foo
>>
>> Would you?
>
>I don’t understand. If there was no need to be able to say
>“--foo --no-foo”, then why do both exist?
No, no, no. Start over.
1. There is a need.
2. It doesn't matter what order the user gives the options in, the
result should be the same.
You said you "*expect* '--foo --no-foo' to make foo be zero". I said
'why would you say "--foo --no-foo" if what you really meant was
"--no-foo"' (implying that the user had some sort of reason to say both
and that the order should not be interpreted in the literal and
aggravating way that seems to be the calling card of computers.)
Did you read the essay about why order doesn't matter?
--Eric
--
We who cut mere stones must always be envisioning cathedrals.
-- Quarry worker's creed
---------------------------------------------
http://scratchcomputing.com
---------------------------------------------