Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



come on, C++ IDEs had "go to definition" features for literal decades


In what way does this contradict my comment?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: