return command in a function.

Skip Montanaro skip at
Thu Sep 27 03:54:38 CEST 2001

    Brian> Hi all! I'm newbie at programming and especially Python langauge.
    Brian> What do you think when someone put return, break or continue
    Brian> command in half of a function. I think that commands are like
    Brian> ``goto'' It is very confused for me to understand big code
    Brian> because such commands jump un-excepted line.

    Brian> What do you think about this and how can get be avoid of using
    Brian> such commands? Any advice?

Write smaller functions. ;-)

Skip Montanaro (skip at

More information about the Python-list mailing list