Tools For Understanding Code?
ewhac writes "Having just recently taken a new job, I find myself confronted with an enormous pile of existing, unfamiliar code written for a (somewhat) unfamiliar platform — and an implicit expectation that I'll grok it all Real Soon Now. Simply firing up an editor and reading through it has proven unequal to the task. I'm familiar with cscope, but it doesn't really seem to analyze program structure; it's just a very fancy 'grep' package with a rudimentary understanding of C syntax. A new-ish tool called ncc looks promising, as it appears to be based on an actual C/C++ parser, but the UI is clunky, and there doesn't appear to be any facility for integrating/communicating with an editor. What sorts of tools do you use for effectively analyzing and understanding a large code base?"
I hear that the commentator guys are finishing a new product that instead of commenting your code is able to comment other's.
Printouts and colored markers.
The Kruger Dunning explains most post on
Sorry about that.
Why have 1 person driving a backhoe when you could employ 20 with shovels?
Yes. Understanding code is one of thing things you hire tools for.
...
Wait, were you talking about software?
Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure.
You could try posting the code here and maybe some kind people at slashdot can help.
When I was your age...I use the Mark I eyeball, grep, emacs, and of course, the little gray cells.
(and GET OFF MY LAWN).
They have lawns at the old folks' homes these days?
Why? I can write crap and you can clean it up. This is Division of Labor, which is the basis of our civilization.
I used to work at a company with a lot of Pascal and C code... It was extremely common (as in, all but a few) for programs to be written entirely in one code file. These files would go on for 20,000 lines or more. So many lines in fact that after the compiler had imported the header files at the top of the file that they would be over 65,000 lines long and the debugger would crap out because it had exceeded the int that it used for line number counting.
Sadly this isn't a joke.
Pete/Petri "damn, my chainsaw is clogged with 1's and 0's again." --clyde
Obviously a program with labels such as "Frodo" Sam" "Gondor" must be doing something Lordly with rings
and if you have labels such as "string1" "string2", then the program must be solving some particle physics problem involving string theory.
Need I add :-) :-) :-) ?
Error 'Format Conversion Error, converting from Y2K to Z2L' added to module x1
Error 'Out of Memory Banks' added to module x2
Error 'Object Expected; found adjective instead' added to module x3
Error 'bitbucket 95% full; please empty' added to module x4
Added 1,000,042 to some random value in module x5
Added 5,555,555 to some random value in module x6
Not only will you learn about the code, you'll make a great impression on your boss, when, within minutes, you are able to resolve some mysterious problem that has never happened before.
.
worse
advice
ever
factor 966971: 966971
Not everything is a duality.
Ah, so really there are two kinds of things: those which are dualities and those which are not?