Re:A Dictionary of Single-Letter Variable Names
by evoke4908 on Sunday October 13, 2024 @10:00PM
(#41833506)
> Someone shouldn’t have to use source inspection assistive coding tools to parse the code you write
[ Parent
| on HN ]
Re:A Dictionary of Single-Letter Variable Names
by ruszki on Sunday October 13, 2024 @10:26PM
(#41833668)
This is nonsense. You can parse every code with simple Notepad, if you have time. You don’t need to use even search, if you wish.
Or you can make your life easier, and use tools which helps you.
Once again, regardless of codebase.
Re:A Dictionary of Single-Letter Variable Names
by achierius on Sunday October 13, 2024 @10:48PM
(#41833763)
"If you have time" is the operative point here. The idea is to make it efficient to quickly search for occurrences.
So then you get back to the LSP question -- but for larger codebases I can tell you, those don't always work as well as you'd hope. I don't use 'ii' but it's admittedly much easier to just `rg` for variables than hope my editor plugin decides to work today.