News for hackers. Stuff that matters.
Re:Ask HN: How do you familiarize yourself with a new codebase? by mavidser on Friday June 26, 2015 @09:41AM (#9784230)
Well, I'm not very good at this either but here's what I do. I usually work on modular projects where there are hundreds of files in the project. I usually skip directly to locating the file where I've to make amends (using a lot of grep. grep for function and object definitions, grep for usage patterns, grep for checking how to implement something). Thus, I learn about the codebase as I go along.

Sure, this is not the best practice, and unsuitable for many, but it's what works for me.

Re:Ask HN: How do you familiarize yourself with a new codebase? by jdavis703 on Friday June 26, 2015 @10:06AM (#9784406)
If this is your modus operandi your life will be much improved with Ack. It's specifically designed for searching codebases.
Re:Ask HN: How do you familiarize yourself with a new codebase? by invernomut0 on Saturday June 27, 2015 @07:18AM (#9789817)
I think you should also check out cscope, it can search for struct definitions and function calls easily (better than just grepping text or using ctags).
Re:Ask HN: How do you familiarize yourself with a new codebase? by mavidser on Saturday June 27, 2015 @12:10AM (#9789068)
Thanks. I'm looking at it right now, and it looks really cool.
Re:Ask HN: How do you familiarize yourself with a new codebase? by harrumph on Friday June 26, 2015 @03:24PM (#9787133)
Amen. Once you've had ack, you never go back.
Re:Ask HN: How do you familiarize yourself with a new codebase? by rane on Friday June 26, 2015 @05:45PM (#9787941)
Isn't ag a better option these days?