Friday, March 28, 2014

How to read large cattle source


Best result of the project needs to see a module source android, how terrible pain called an egg, a class of more than 1,000 lines, a method for four to five lines, it is not read, there are a lot of clever design, understand these things very pain. Would like to ask how to read large cattle source.
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
vim + ctags + taglist

Do not stretch the entire class watching, tracking a particular method
Reply:
I was afraid of this, so generally do not read other people's code. . . . .

Unless someone told me, or documents in great detail. . .



Read what people hate the code
Reply:
cited a floor yiyaaixuexi reply:
vim + ctags + taglist

Do not stretch the entire class watching, tracking a particular method


I really still too low end, this three things do not know. . .

Seeking to explain
Reply:
With demand (reply too short)
Reply:
cited a floor yiyaaixuexi reply:
vim + ctags + taglist

Do not stretch the entire class watching, tracking a particular method

1/2 + breadth-first depth-first
Reply:
Everyone look at the source has his own way!
If you read the source code in order to read the source code and then I think you will be very painful, because you may be read without a purpose! A class ranging from a few hundred, many thousands of lines, imagine what will happen to the dead!
You encounter some issues that need to be addressed with the source when the source code which you need to look through that part, so it would be more easily read points, each encounter a problem to find a part, but also with 5L say, every drill a question on the drill bit deeper! Of course, to find the source code is needed for the source to be very understanding of the structure!

I read the source code is not used 1L said tool, which lead to the eclipse
Reply:
cited a floor yiyaaixuexi reply:
vim + ctags + taglist

Do not stretch the entire class watching, tracking a particular method


I also think this method is relatively effective, if the whole look at it, I feel a lot of reading and forget to look confused.
Reply:
Find a tool to generate a first code UML, then print it out, and then start the analysis, I was so dry
Reply:
http://www.cnblogs.com/west-link / archive/2011/06/07/2074466.html
Reply:
source insight look at the code
EA reverse engineering to see uml class diagram
Reply:
If you are using the Linux operating system vim + ctags + taglist
If you are using Source insight
windows
Reply:
I also just joined the company made android, the company started to see the code, because the project is small, did not document what I look through sysout code and know what each variable is used. Almost.

        


Reply:
Rarely see
Reply:
ubuntu wine + source insight
Reply:
reference to the 11th floor yiyaaixuexi reply:
If you are using the Linux operating system vim + ctags + taglist
If the windows with Source insight

But the source insight seems to only support JAVA, some features for Android also can not track, which version you use ah?
Reply:
cited 15 floor fhlkm reply:
reference to the 11th floor yiyaaixuexi reply:

If you are using the Linux operating system vim + ctags + taglist
If you are using Source insight
windows
But the source insight seems to only support JAVA, some features for Android also can not track, which version you use ah?

source insight see no problem with how the kernel source code may only support which version of java no problem

Reply:
cited 15 floor fhlkm reply:
reference to the 11th floor yiyaaixuexi reply:

If you are using the Linux operating system vim + ctags + taglist
If you are using Source insight
windows
But the source insight seems to only support JAVA, some features for Android also can not track, which version you use ah?

This. . . I've never heard only support the JAVA source insight. . .
Reply:
Small rookie year, never read the source code.
Reply:
By Source insight

Reply:
reference to the 8th floor drsmart reply:
find a tool to generate a first code UML, then print it out, and then start the analysis, I was so dry < / blockquote>


How to generate? I'm my own painting, master, tell me, tired
Reply:
reference to the 11th floor yiyaaixuexi reply:
If you are using the Linux operating system vim + ctags + taglist
If the windows with Source insight
Linux can also use the Source insight
Reply:
reference to the 8th floor drsmart reply:
find a tool to generate a first code UML, then print it out, and then start the analysis, I was so dry < / blockquote>
There are so sharp tools ah? Share it ~ ~ ~
Reply:
cited 21 floor b87936260 reply:
reference to the 11th floor yiyaaixuexi reply:

If you are using the Linux operating system vim + ctags + taglist
If you are using Source insight
windowsLinux can also use the Source insight of



I mean, in Linux preferred vim + ctags + taglist
Reply:
I went to a class so big, this is obviously not a good example ah.
Reply:
reference to the 6th floor izard999 reply:
everyone to see the source code has his own way!
If you read the source code in order to read the source code and then I think you will be very painful, because you may be read without a purpose! A class ranging from a few hundred, many thousands of lines, imagine what will happen to the dead!
You encounter some issues that need to be addressed with the source when the source code which you need to look through that part, so it would be more easily read points, each encounter a problem to find a part, but also with 5L say, every drill a question on the drill bit deeper! Of course, to find the source code is needed for the source to be very understanding of the structure!

I read the source code is not working with 1L say ......

It makes sense to add a fine!
Reply:
This is not a good programmer

The method is not read, you write code, you tell me, what is the role of this method, although I call!
(Control of input variables
---- Return value)
You want me to read,
I can write out their own, spend less time
Reply:
The reply was deleted at the moderator 2011-08-26 09:58:42

Reply:
General use source insight look at the code, meld comparison, still prefer to write the words vi
Reply:
Follow written procedures, from MainActivity start, you try, you definitely have a good help huh
Reply:
The reply was deleted at the moderator 2011-08-24 10:03:41

Reply:
I came to learn about
Reply:
Learning.
Reply:
The new class out. See public interface.
Poorly designed code, forget about the specific roots trace.
Looked at the introduction of the landlord. android system code so rubbish.
Reply:
Do not understand. . . . . . . . . . . . . .
Reply:
Learning, and looked down under, do not use
Reply:
mark, has been using the Source Insight.
vim + ctags + taglist not used to learn it.

Reply:
cited 28 floor ninetwoseven reply:
general use source insight look at the code, comparison meld, write the words still prefer vi

vi useful insight to write code than source it? Those aspects better, want to learn next.
Reply:
Understanding.
Reply:
I was the first to read about the browser and then classified.
Reply:
Passing
Reply:
source insight, remember, next time with this look
Reply:
Taught. . . .
Reply:
Look at all the experience
Reply:
Best result of the project needs to see a module source android, how terrible pain called an egg, a class of more than 1,000 lines, a method for four to five lines, it is not read, there are a lot of clever design, understand these things very pain. Would like to ask how to read large cattle source.
Reply:
Passing learning ~
Reply:
cited 17 floor louiswangbing reply:
cited 15 floor fhlkm reply:

References to the 11th floor yiyaaixuexi reply:

If you are using the Linux operating system vim + ctags + taglist
If you are using Source insight
windows
But the source insight seems to only support JAVA, some features for Android also can not track, which version you use ah?

This. . . I've never heard only support the JAVA sourc ......

I also heard that it is a common tool to read kernel, yes, where to find the source code ah
Reply:
Sixth
+ +
Reply:
Rookie, not to read the source code level ~
Reply:

Java c c + + java lone colleague I tried to read the kernel c + + should be no problem, my colleagues see the multimedia section are the c + +
cited 17 floor louiswangbing reply:
cited 15 floor fhlkm reply:

References to the 11th floor yiyaaixuexi reply:

If you are using the Linux operating system vim + ctags + taglist
If you are using Source insight
windows
But the source insight seems to only support JAVA, some features for Android also can not track, which version you use ah?

This. . . I've never heard only support the JAVA ......

Reply:
Know the interface, you can take advantage of the

No comments:

Post a Comment