Newbie : checking semantics

Bengt Richter bokr at oz.net
Mon May 16 18:05:18 EDT 2005


On Mon, 16 May 2005 18:40:43 +0200, Stefan Nobis <snobis at gmx.de> wrote:

>rbt <rbt at athop1.ath.vt.edu> writes:
>
>> True beginners (no programming experience whatsoever) don't have
>> to deal with unlearning stuff such as the bracket plague.
>
>That's true. But they also not very used to give nothing (->
>whitespace) a meaning. I teached quite some beginners and most of
>them had problems to get the indentation right.
>
>At least in the very beginning IMHO it would be useful to
>explicitly end a block with some kind of an end statement.
>
>Meaningful whitespache is not a big problem (as many people seems
>to think) but it's also not very obvious and sometimes it causes
>at least a little bit trouble.
>
Training wheels do no belong as a permanent part of a bicycle, IMO.

If you want to show newbies Python code with block bracketing, please
program up a suitable code viewer for them ;-)

Regards,
Bengt Richter



More information about the Python-list mailing list