[Tutor] List exercise

Michael Janssen Janssen@rz.uni-frankfurt.de
Wed Feb 12 05:07:08 2003


On Tue, 11 Feb 2003 alan.gauld@bt.com wrote:

> > [Michael Janssen]
> > When I remember correctly the threads "list exercise" wasn't
> > such a shiny example of good programming style, was it?
>
> But that wasn't a tutorial teaching, it was a bunch of folks on this
> list presenting different solutions to a problem. Hopefully a
> pre written tutorial would resolve those issues before commitying
> to 'print'.

Oh I'm sorry for that: I've indeed looked for the tutorial (Think like
those guys with computers section 8.3) and I believe the list exercise
taken from this part of the tutorial isn't a shiny example of good
programming style. The help of the list was a work in progress (I like
Wiki for example and I like work in progress) and it was nice, straight,
complete, helpful. Never comes to my mind to blame tutor@python.org ;-)

Michael

The rest of our little discussion is IMO subject to different opinions.
Below follows a correction of my inappopriate english.

> > It's very interesting - for me as a student of educational
> > sience - how tutorials claim to explain something but tries to accomplish
> > this effort on objects, which are harder than necessary (to say the
> least).
>
> Not sure what you mean here? Do you mean objects are harder than
> necessary(if so in what way?) or do you mean the tutors are harder
> than necessary? Or both?

tutorials (change objects to subjects :-). It's their way to give examples
with pitfalls. When you want to show something clearly you possibly end
description and make an example;  when you want to give a problem to
solve, you set up a pitfall. Both together make the learner think s/he has
missed the clarification.