On Thu, 10 Aug 2006 16:42:47 -0700
Simon Forman <[EMAIL PROTECTED]> wrote:

#> 6.) There's a single return statement.
#> 
#> I forget now where I picked this up, but it's served me well for
#> many years: Procedures, functions, methods, etc... should have one
#> exit point. Something about having fewer "code paths" to test or
#> something.

Number of return statements has absolutely *nothing* to do with number
of code paths to test.

-- 
 Best wishes,
   Slawomir Nowaczyk
     ( [EMAIL PROTECTED] )

Only drug dealers and software companies call their customers 'users.'

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to