2 ms·
Must be fun working without code folding on a file with thousands of lines of code and dozens of functions. Also, the act of dismissing a feature as useless th
by ayushnix 5y ago
Must be fun working without code folding on a file with thousands of lines of code and dozens of functions.
Also, the act of dismissing a feature as useless that you don't personally use is apparently one of the hallmarks of FOSS community.
- e12e 5y agoI mostly feel the need for (but rarely actually use) code folding in legacy projects with long functions/methods and long files - it can be helpful getting fixes in, when there's no tine/resources for a proper refactor. Ed: but I mostly prefer clean code, short functions and concise files...
- ayushnix 5y agoEven in cases when there are just 500 or 1k LOC with about 4-6 functions, code folding is immensely helpful in focusing on where you want and removing other distractions. Navigating between functions also becomes easier. I guess it's pointless to talk about this because the utility of code folding is subjective for some people and in my anecdotal experience so far, any feature that doesn't work in their favorite $EDITOR is branded as useless.