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

Sam Tetherow tetherow at shwisp.net
Tue Jul 31 03:25:51 UTC 2007


There is a big difference between should and must.

Sam Tetherow
Sandhills Wireless

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.  :)
>
> $0.02,
>
> j
> Omaha Perl Mongers:  http://omaha.pm.org
>
>
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug
>
> <a href="http://mail.shwisp.net/spam/dspam.cgi?template=history&user=tetherow&retrain=spam&signatureID=16,46ae47f9201352015797174">!DSPAM:16,46ae47f9201352015797174!</a>
>
>
>   




More information about the OLUG mailing list