General question about Python design goals
exarkun at divmod.com
Mon Nov 28 04:58:32 CET 2005
On 27 Nov 2005 19:49:26 -0800, Paul Rubin <"http://phr.cx"@nospam.invalid> wrote:
>Robert Kern <robert.kern at gmail.com> writes:
>> Use cases are the primary tool for communicating those practical
>> needs. If you can't think of a single use case, what's the point of
>> implementing something? Or rather, why should someone else implement
>> it if you don't know how you would use it?
>I can't think of a single use case for the addition (+) operator
>working where either of the operands happens to be the number
>random number I just got out of /dev/urandom). I've never heard of
>any application using that number, and the chances of it happening by
>coincidence are impossibly low. But if Python were coded in a way
>that made the interpreter crash on seeing that number, I'd call that
>a bug needing fixing.
If you seriously believe what you just wrote, you have failed to
understand the phrase "use case" (and possibly a lot of other
things related to programming ;)
However (fortunately for you) I suspect you don't. If you really
did, you may want to pick up one of those platitude-filled XP books
and give it a careful read. You may find there's more there than
you were previously aware.
More information about the Python-list