[Edu-sig] The fate of raw_input() in Python 3000
kirby urner
kirby.urner at gmail.com
Tue Sep 12 22:34:28 CEST 2006
On 9/12/06, kirby urner <kirby.urner at gmail.com> wrote:
> Top-to-bottom executable scripting, with maybe forks in the road, as in:
>
> dumb_user_says = raw_input("yes or no?: ")
>
> and likely no going back if you answer it wrong:
>
> confirm = raw_input("are you sure??")
>
"... is a style we don't really encourage."
I should have added.
We want random access to stuff saved on the heap, through nothing more
than hash table lookup. We don't want serial guidance through a set
of this-or-that choices, as if we're not competent to just operate the
machinery however we see fit.
"We" is not the whole world, just a school of thought that wants CP4E
to really *mean* something, not just be rhetoric for mental couch
potatoes.
Kirby
More information about the Edu-sig
mailing list