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

Luke -Jr luke at dashjr.org
Mon Jul 30 20:25:26 UTC 2007


On Monday 30 July 2007 20:16, Jay Hannah wrote:
> 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.  :)

What are astyle and such for? :)



More information about the OLUG mailing list