3 ms·
Personally I find it much more difficult to keep n places in one giant file in my head than I do n individual files. We have a few multi-kloc legacy monsters w
by deergomoo 5y ago
Personally I find it much more difficult to keep n places in one giant file in my head than I do n individual files.
We have a few multi-kloc legacy monsters where I work and I quite often completely lose my place when working on them (and, by association, my train of thought), even though they’re actually structured somewhat reasonably.
- niccl 5y agoI had this problem until I found an editor that had outlining as it's core design paradigm. Now, with the outline always visible, it's _really_ easy to navigate any length file. Unfortunately, at one point I got so used to navigating with the outline that I ended up making a 1500 line function in C (I was an even worse C programmer then than I am now). Because of the outline, I could read and follow it easily, but anyone with a different editor was royally screwed :-( If you're interested, the editor is LEO (http://leoeditor.com/ http://leoeditor.com/) it's been mentioned on HN a few times