Quote:
Originally Posted by Kickaha
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.