4 ms·
> "It's visually obvious when code is correctly indented. " Not when the beginning of the code block isn't on screen. And more to the earlier point, configuri
by darkpuma 8y ago
> "It's visually obvious when code is correctly indented. "
Not when the beginning of the code block isn't on screen.
And more to the earlier point, configuring your editor to jump to the beginning from the end or the end from the beginning of a particular block of code going to be trickier than the equivalent in even vim for lisp, which is simply %
(And vim isn't even a particularly good editor for lisp, but out of the box unconfigured, it's better at lisp than it is at python.. % isn't even lisp specific functionality, lisp just happens to use balanced parenthesis which is something nearly every serious text editor happens to handle in a reasonably robust way, because balanced parens are generally useful in many languages, including python!)
- misterdoubt 8y ago> Not when the beginning of the code block isn't on screen. The length of your code blocks terrify me. :)
- darkpuma 8y agoIt doesn't take more than two dozen or so lines depending on the window arrangement. Nothing truly excessive. Alternatively, viewing the entire code block might mean scrolling up. If you want scary, check out GNU's implementation of `cat`. I think they hit ten nested indentation levels. Though, because that's C, you can at least jump between the beginning and end of each level by having your editor jump to the matching {}.