Re:Why I Switched from Python to Clojure (2016)
by misterdoubt on Sunday March 24, 2019 @09:49PM
(#19479791)
> Not when the beginning of the code block isn't on screen.
The length of your code blocks terrify me. :)
Re:Why I Switched from Python to Clojure (2016)
by darkpuma on Sunday March 24, 2019 @10:16PM
(#19479889)
It 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 {}.
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!)