11 ms·
Agreed, but with braces, i can press % over a '{' in vi and find the matching }
by return0 11y ago
Agreed, but with braces, i can press % over a '{' in vi and find the matching }
- monk_e_boy 11y agoThere is an argument that if you can't scan the code with your eye and spot the } then your code needs refactoring to make it easier to read.
- return0 11y agoAgreed, but i m talking about moving the cursor there.
- ConceptJunkie 11y agoThat's easy to say until you're dealing with 2 million lines of code like that.
- Tyr42 11y agoThat's what plugins are for :P
- Coding_Cat 11y agoLack for jumping to the end of the current indent block is a missing-feature/bug in vi then. There is nothing technologically harder about finding the end of a block based on indentation than based on braces.
- Gibbon1 11y agoWhen I think about this I think about streaming protocols, you have two types those that totally lose the thread when there is an error and those that don't. And there is an issue of the typical hamming distance between valid code sequences. I'm on the side of having to reflexively type an extra character or two to gain some parser redundancy and error detection. I've also read a few people talking about auto formatting tools and seems like they need all the help they can get.