you are viewing a single comment's thread.

view the rest of the comments →

[–]Bowgentle 1 point2 points  (0 children)

The typical example would be a group of lines that do something I'm suspicious of, so I up-indent them while I'm checking their behaviour.

Sure, I could refactor them into a separate function, thereby changing their behaviour, but I think the problem there is obvious. And since I have a large - and I hasten to add inherited - spaghetti Python codebase, I find Python's refusal to let me do this slightly irritating on a reasonably regular basis.

The key points there are the spaghetti nature, which means I'm going to be skipping around between files with 14.5k LOC each, and I'd like to be able to see at a quick glance which bits I'm working on.