4 ms·
Your text search skills or tools are lacking, then. In an IDE, "go to definition" solves this problem. In an editor, incremental text search over the entire pro
by barrkel 12y ago
Your text search skills or tools are lacking, then. In an IDE, "go to definition" solves this problem. In an editor, incremental text search over the entire project solves this problem (I normally use helm-git-grep in emacs).
I'm a fan of bigger and fewer files. Atomized bits of functionality are tedious to read, when you have to read lots of code to understand the gestalt.
- vog 12y ago> I'm a fan of bigger and fewer files Indeed, this is mostly a matter of taste. Both styles have their merits and downsides. For some projects, I also preferred bigger files up to single-file solutions, which also worked great. > In an IDE, "go to definition" solves this problem. In an editor, incremental text search over the entire project solves this problem When using the right tools, it doesn't matter how the code distributed across files. But I believe this is slightly out of scope for the question at hand.
- vog 12y ago> Your text search skills or tools are lacking Ad Hominem should have to place at HN. Please don't do that. https://news.ycombinator.com/newsguidelines.html https://news.ycombinator.com/newsguidelines.html
- barrkel 12y agoIf you seriously need lots of tiny files in order to find code, it is a fact that you don't know how to use the tools you have available. That's my professional opinion.
- vog 12y ago> If you seriously need lots of tiny files in order to find code Nobody said that. Please read more carefully, especially before goofing off others. Or, simply don't goof off anyone in the first place.