|
|
|
|
|
by kleene_op
1772 days ago
|
|
In my opinion, the conceal feature in Vim provides the best of both world to the name vs symbol problem. When you want to review your code, you just go into normal mode, concealing all lengthy but frequent names into appealing symbols. When you want to write code, you switch to editing mode and all symbols on the editing line turn back into names I use this feature mostly with python code. One liners making proficient use of lambdas, maps, reduces, and other functional treats are satisfyingly condensed, reducing the amount of attention required to parse each line. No need for custom keyboards. People don't have to parse arbitrary symbols to understand what I wrote because the underlying code remains vanilla. A drawback is that the apparent conciseness tricks me into writing very big one-liners difficult to parse when all terms are expanded. |
|