Quake3World.com
https://www.quake3world.com/forum/

What are the best tools for learning a new codebase?
https://www.quake3world.com/forum/viewtopic.php?f=16&t=51601
Page 1 of 1

Author:  Ganemi [ 12-08-2015 03:04 PM ]
Post subject:  What are the best tools for learning a new codebase?

This is pretty intense.

http://i.imgur.com/aKWZfVj.jpg

That's not the particular portion of code I'm skimming through, but is there any better way to understand the code that I am using?

Author:  D-Meat [ 12-08-2015 06:23 PM ]
Post subject:  Re: What are the best tools for learning a new codebase?

Eeeh ... Your brain ?

Personally I just dig where functions are connected using the search tools of my beloved notepad++.

One really useful thing is to print up with colours the variable definitions (specially the gentity_t) so you can check it up anytime !

I remember writing down some functions to really tick in what's going on.

Author:  Eraser [ 12-09-2015 06:43 AM ]
Post subject:  Re: What are the best tools for learning a new codebase?

Get a good IDE like Visual Studio (the community edition is free)

What I usually do is come up with some very simple features I'd like to add or edit, something that won't require you to refactor half of the internal data structures. Preferably it's something that you can point at in a user interface or in the game and say "I made/changed that". It allows you to learn some of the flow through the code. That way, you can gradually dig deeper and make more abstract changes in due time.

Author:  Ganemi [ 12-11-2015 12:25 PM ]
Post subject:  Re: What are the best tools for learning a new codebase?

Image

I'm finding doxygen, winmerge, and vs10 pretty useful for figuring things out.

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/