It's early days but I'm making progress! https://github.com/ebanner/pynt
https://news.ycombinator.com/item?id=16064412
I think the important thing is that modularity (breaking up longer functions into shorter ones) helps, but only if not done blindly. One has to spend some time doing it, since there are many possible ways it can be done, and some of them will be better than others. So it can pay off in the long term, but only if one is willing to put in the effort and time, and be ready to throw away some not-so-good attempts. I've done this sometimes and seen that it does help.
I've seen 1k LoCs functions that were incredibly easy to understand, and 10 liners that were complete gibberish messes.
I do however agree that declaring new variables every 10 lines over hundreds of lines would be hell to follow.