Navigating large code bases
I just needed to find an answer to a question in MonoRail. MonoRail code base is over 75,000 lines of code, including all the supporting projects and tests. Castle.MonoRail.Framework has about 37,700 lines of code. The question was something that I never really thought about, and had no idea where to start looking at. I opened the solution and started hunting. It took about five or six minutes to find the correct spot, another two to verify my assumption and be shocked that there is a private method there :-) and then I was done.
Under ten minutes, to find a question that I never thought about in a significant code base. ReSharper helps, of course, but nothing beats well structured code for maintainability.
Oh, and MonoRail has very little implementation documentation.
Comments
You beat me! I was looking for the same piece of code, but I was using subversion repository through the web. Not fair!
I'm devoting a tiny bit of my time getting back into MonoRail. I'm also a bit miffed at how many methods are either private or not marked as virtual.
I will give you the standard OSS answer: Patch? :-)
Also, I think - it will be better to have some document giving high level overview of things & zooming it down to detail, if required.
And, some text which helps you find things quickly
e.g. if you are looking for changes to query generation look at sqlprocessor or if you want to write query generator for your db - do it this way .....
Just what I could think of
Kalpesh,
100% agree.
Comment preview