[olug] ANN: Omaha Python Users Group Meeting, Aug 1 @ 7pm

Jay Hannah jay at jays.net
Mon Jul 30 20:16:41 UTC 2007


On Mon, 30 Jul 2007, Luke -Jr wrote:
> I find it fairly annoying that Python requires indentation as syntax. When I
> modify code, I try to change as little as possible to minimize the diff, but
> with Python, removing an 'if' means removing an entire level of indentation
> on every line subsequent...

Which is best practice anyway. Perl's flexibility is great when you need 
it, but 99% of your if blocks should be indented. So if you remove an if 
you'll re-indent the block.

Assuming you want yourself and others to be able to read your code.  :)

$0.02,

j
Omaha Perl Mongers:  http://omaha.pm.org





More information about the OLUG mailing list