Newbie : checking semantics

Antoon Pardon apardon at forel.vub.ac.be
Tue May 17 06:11:08 EDT 2005


Op 2005-05-16, Bengt Richter schreef <bokr at oz.net>:
> 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.

But what is a training wheel depends on your point of view.

IMO the required indentation is more like permanent training wheels
than end block-markers would be. A structure in general has a begin
marker and an end marker. Even python has them in some cases like
lists and tuples. 

-- 
Antoon Pardon



More information about the Python-list mailing list