View Single Post
Partial
Stallion
 
Join Date: Feb 2006
Location: Milwaukee
 
2009-10-04, 21:56

Quote:
Originally Posted by Kickaha View Post
Yes, we were discussing languages with non-whitespace defined blocks.

Python makes the situation better, IMO, but a lot of people hate it.
Do you think this is a good practice for clean code? I'm not familiar with Python but from what I'm gathering it uses indentation to determine which "if" the "else" corresponds to in your example?

I'm all about indenting properly and using brackets to open and close ifs. I've had some really bad experiences as detailed above about the massive 7000 line class I inherited. It's been a nightmare.

...and calling/e-mailing/texting ex-girlfriends on the off-chance they'll invite you over for some "old time's sake" no-strings couch gymnastics...
  quote