3 ms·
So, using grep or a similar tool, how would you find the definition of the function, separately from its uses? In a Rust codebase I could just run `grep -r "fn
by umanwizard 7y ago
So, using grep or a similar tool, how would you find the definition of the function, separately from its uses? In a Rust codebase I could just run `grep -r "fn foo" .` and find the definition immediately.
Clearly this doesn’t matter if you’re in an IDE with a working “find definition” feature, but that’s often enough not the case that I find easily greppable definitions to be a gigantic advantage.
- jcelerier 7y agocome on, C++ IDEs had "go to definition" features for literal decades
- umanwizard 7y agoIn what way does this contradict my comment?