Follow

As a full-time programmer for > 12 years, my favorite trick is still using search to navigate large codebases:

Search for a function name you remember vaguely, then in results:

foo();
foo() <— no semicolon! Implementation!
foo();

In C++, search for ::foo often works, too.

@uliwitness in languages with the function keyword, "n foo" also tends to work pretty well!

@uliwitness Better, use ctags. You can configure a lot of editors to auto-run ctags, and then have a nice dropdown of names.

Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!

We adhere to an adapted version of the TootCat Code of Conduct and follow the Toot Café list of blocked instances. Ash is the admin and is supported by Fuzzface as a moderator.

Hosting costs are largely covered by our generous supporters on Patreon – thanks for all the help!