9 ms·
Blocks Courtesy of Konrad Zuse (2014)
- deleted 6y ago[deleted]
- eurasiantiger 6y agoThe scope lines could be implemented as an extension for pretty much any IDE.
- layer8 6y agoIDEs arguably already do that, at least for the innermost scope the current line is part of, plus breadcrumbs for the surrounding scopes.
- ncmncm 6y agoEvery time I read anything about Konrad Zuse, I find another thing to astonish me.
- vortico 6y agoI like the idea of an IDE distinguishing between scope types with colors, lines, or rectangles. Just this week I had to scroll up a few pages of C++ to check how deep a line is in scope. It would have been useful to see that the scope was: namespace, class, method, lambda block, for block, if block, if block.
- josefx 6y agoThat sounds like the code needs some refactoring. If only to clearly encapsulate individual steps.
- vortico 6y agoSure, you can do that if you want!
- mikewarot 6y agoIf this was done well, it could greatly increase both the readability and density of code, as viewed on screen. I believe cognitive impedance mismatch major component of the hardness of programming as an activity.
- cyberbanjo 6y agoEmacs has rainbow-delimiters and rainbow-blocks (and show-paren). https://github.com/istib/rainbow-blocks https://github.com/istib/rainbow-blocks