------ Solution --- -----------------------------------------
see procedure is to adapt to others habits oh
------ Solution ------------------------------------- -------
debug
------ Solution ----------------------------- ---------------
debugging, met variables Ctrl + F, see method F3. course, do not forget absorption seen
------ Solution - -------------------------------------------
java program from top to bottom , from the external interface to the internal functions , the middle can be mixed with pseudo-code or a comment ( preferably with the function name replacement ) . Finalization of the various functions and log information.
------ Solution ---------------------------------------- ----
positive solution, if the source code is no comments, add your own comments on the ease of understanding
------ Solution ------------- -------------------------------
see large segment of Java code look kind of relationship , look for those class Name to determine what mode to use .
Java function worth nothing , straightforward , logical, right on the line ~ .
------ Solution ---------------------------------------- ----
first try to figure out what the program is probably to look at what is to be achieved
then look carefully to see if the source variable encounter method encounters went
------ Solution ------ --------------------------------------
I like to look at the class name look methods names . Good general understanding of the main features .
------ Solution ---------------------------------------- ----
Oh, I also like this, but fortunately , our code are required to have notes or something, so it looks not too difficult
------ Solution - -------------------------------------------
method from class to .
------ Solution ---------------------------------------- ----
the habit of watching the program , from the whole to the parts.
------ Solution ---------------------------------------- ----
top to bottom, from bottom to repeatedly see its meaning since things are so
------ Solution --- -----------------------------------------
this good and support you !
------ Solution ---------------------------------------- ----
if the content is J2EE , starting from the front desk to find the foreground and background · the interaction point, and then after a substantial cut · cut classes and members to see some of the ways the internal code · in fact, you can not get to the bottom are the people that write · · · debugging algorithm can be successfully used · ·
------ Solution --------- -----------------------------------
see more jdk source, see how others write the ;
remember a classic wording
for (int i = 0, length = arr.length; i
}
------ Solution ----------------------------------- ---------
from start to finish . . .
------ Solution ---------------------------------------- ----
I think in addition to look really nothing particularly effective method , naturally accustomed to see the sense of the phrase
------ Solution ------------ --------------------------------
first run the program as a whole to understand the reality of what is the function then from main () to start to see which class or method call one insight or directly with the debug line also see how the program calls running
------ Solution --- -----------------------------------------
first rough look ; try to figure out what is to be achieved by the program
then look carefully to see if the source variable encounter method encounters went
------ Solution ------------------ --------------------------
think the most important part of their own have seen otherwise be too long to add a comment it was easy to mess
------ Solution ------------------------------------ --------
important thing is to understand
------ Solution ------------------------- -------------------
ah yes the best fit class diagram . . .
------ Solution ---------------------------------------- ----
write complex approach, method and write down notes in 1234 and then what to do inside the method Callout 1234 the place , a bit like the process illustration concept
------ Solution ------------------------------------- -------
------ Solution ------------------------------------ --------
add comments, good habits !
------ Solution ---------------------------------------- ----
to learn next .
------ Solution ---------------------------------------- ----
I think the most important thing is not long and cumbersome code , keep to the essence of the program unnecessary things , which is necessary for optimization Oh ~ !
.............................................. .................................................. ...
cockle Network - www.shibeiwang.com , find the merchandise , looking for deals , find buy, find services , everything, to enjoy the fun of online shopping ~ !
------ Solution ---------------------------------------- ----
simply look at the code that efficiency has not . The first look to know what function just fine. Use the time to take a closer now , so as to see things
------ Solution -------------------------- ------------------
comment ! ! !
------ Solution ---------------------------------------- ----
in question must be detailed notes, and then write their own one similar , so as to progress
------ Solution ------------- -------------------------------
functions and implemented in accordance with the steps to see, but also to pay attention to the details of the
------ Solution ------------------------------------------ -
watching habits ... it depends on the program write a program guy , right . well written to copy down slowly digested , garbage instead of the direct write their own .
---- - Solution --------------------------------------------
brother now learn java to the graphics that , I feel like a lot of trouble , the code is nothing, just like every time references Frame method or interface , unlike vb as casually can have a form , if I java in a form to a lot of controls , but also to go one by one name , trouble ah , but I feel very good school , is in trouble for that. . . . .
------ Solution ---------------------------------------- ----
I have to play
------ Solution ---------------------------- ----------------
breakpoint debugging , tracing code
------ Solution --------------- -----------------------------
everything from the main start
------ Solution ---- ----------------------------------------
1. watching big Java look at the kind of relationship the code , look for those class Name to determine what mode to use
2. breakpoint debugging , tracing code
3. attention to rest relax properly : at least every hour to stand up and do some stretching exercises and look out the window overlooking the scenery !
------ Solution -------------------------------------- ------
I'm usually right click , view source code, set breakpoints, trace view , no other good way to learn
------ Solution ------ --------------------------------------
I usually start watching from the main method , I saw where it performs what
------ Solution ------------------------------- -------------
program if it is written in the words of a foreigner
1 to learn English , traveled the world are not afraid
2 Advanced official website , look at the manuals and the like
3 see javadoc, especially each package, class, method of documentation
4 read code
5 -yourself , write test code, a function test
------ Solution ------------------------------------ --------
should always remodeling
------ Solution ------------------------- -------------------
sure to find their own mistakes , not always a do not ask people to see ! @ ! !
------ Solution ---------------------------------------- ----
accordance with program execution flow to see ~ ~ ~ ~
------ Solution ------------------------ --------------------
hope a lot of write ah. passed
------ Solution ------------------------------------ --------
look at the code structure , the structure to see to understand , the code is natural enough understood.
------ Solution ---------------------------------------- ----
agree
------ Solution -------------------------------- ------------
first overall look at the modules, savor
------ Solution --------------- -----------------------------
write comments
------ Solution ------ --------------------------------------
look at the comment, and then more analysis code implementation process ! Procedures under its own measure results . . . . . .
------ Solution ---------------------------------------- ----
see when targeted to see . Behold one , and then expand .
------ Solution ---------------------------------------- ----
first macroscopic , microscopic post .
------ Solution ---------------------------------------- ----
key is to adapt to someone else's become accustomed .
------ Solution ---------------------------------------- ----
more, see more, think more comments
------ Solution ------------------------- -------------------
sourceinsight look at the code .
------ Solution ---------------------------------------- ----
customary good is good . Bad bad . Be careful
------ Solution -------------------------------------- ------
first understand the code segment to achieve business, followed by the function .
------ Solution ---------------------------------------- ----
[light] usually nothing more than look API is also helpful [/ light]
------ Solution --------------- -----------------------------
original Java code ah ! Simple ah !
object-oriented package. Usual thinking on it. The Java IDE Duman strong . Very handy .
If C , then we would headaches. Everywhere is a macro , chaotic variable naming , and some depend on the underlying protocol .
------ Solution ------------------------------------ --------
look down from above , descending to see
------ Solution ------------------ --------------------------
I used to add comments, change their laws to facilitate people's reading
---- - Solution --------------------------------------------
first read , the specific problems encountered when the re peruse
------ Solution ---------------------------- ----------------
look at the notes, look at the code ! Extract important information ,
------ Solution ----------------------------------- ---------
whole to part , part to the summary. Do not know - > thinking , and then know to ask
------ Solution ----------------------------- ---------------
with Source Insight view the code , while debugging side view, to know the program entrance entrance began to read from the program ; does not know the program entry , looking output character or pop-up dialog text , slowly find the entrance , combined program runs from the entrance situation , the whole process to get through
------ Solution ---------------- ----------------------------
have to focus on watching the program notes for editors ideas
----- - For reference only ---------------------------------------
lazy
is the most important
------ For reference only ------------------------------ ---------
lot of people ah
------ For reference only ----------------------- ----------------
wooden horse God good habits ~
------ For reference only ----------- ----------------------------
to learn the
------ For reference only ---- -----------------------------------
everyone has their own some of the views
- ---- For reference only ---------------------------------------
Thank you Hey, you want to learn to learn
------ For reference only ---------------------------------- -----
------ For reference only ---------------------------------- -----
novice learning ! !
------ For reference only -------------------------------------- -
------ For reference only ---------------------------------- -----
Well , we should see more help documentation /
------ For reference only --------------------- ------------------
habit is what others what habits.
own code base without looking
------ For reference only ---------------------------- -----------
watching thinking , find out the role of the method
------ For reference only -------------- -------------------------
all speak too well , learn
------ For reference only - --------------------------------------
all speak too well , learn
------ For reference only -------------------------------------- -
mark
------ For reference only ---------------------------------- -----
personal feeling is to pay attention when coding indentation ......
------ For reference only ------------------- --------------------
content into the clipboard
------ For reference only ---------------------------------- -----
sure to add a comment ah
------ For reference only ------------------------- --------------
passing learn ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
------ For reference only ------- --------------------------------
great ,
------ For reference only ---------------------------------------
Thank
------ For reference only ---------------------------------------
reference to some other document
------ For reference only ------------------------------- --------
many ways
------ For reference only ------------------------- --------------
to learn something
------ For reference only ----------------- ----------------------
just cite one example: the main function should write String [] args; this is a good habit
------ For reference only ------------------------------------- -
seriously look at the code , see more on the line
------ For reference only ------------------------ ---------------
this amendment. First understand the function and structure , and then choose their own interest peruse
------ For reference only ----------------------- ----------------
first read through , specific problems encountered when re- read
this amendment. First understand the function and structure , and then choose their own interest peruse
[/ Quote]
------ For reference only ------------------------------ ---------
good to learn under
------ For reference only --------------------- ------------------
------ For reference only ---------------------------------- -----
UP ~ ~ ~ ~ ~ ~
------ For reference only ----------------------- ----------------
first run up, and then look at ~
------ For reference only ----------- ----------------------------
relatively large program files look methods do something
it easier to find used
------ For reference only ---------------------------- -----------
I remember having a look at the code of the tool , many companies will use the programmer can try
------ For reference only - -------------------------------------
learn
没有评论:
发表评论