Look at their own source of some of the methods and experience to share

step

First clear the macro: doing, what is the function

Microscopic again: debug line by line function

After the graphic: analysis principle, converted into an easily understood manner

Last refining experience: Be sure to read the source code to sum up what the harvest, especially in design and elegant way to write code (very important)

Personal experience:

Preparing for debug

  1. When the point has been easy to point to rip off, as lost on the line, too many fork in the road, such as a typical spring, but spring is in accordance with the interface design to create that white is like a house built in accordance with the drawings, like
  2. First of all interfaces to understand, understand this interface defines what methods and functions, and then look at specific implementation class, abstract class and its subclasses, etc. Most of these classes inherit the interface.
  3. Like look at real estate design drawings, so that you took the drawing, to which place, you know what this place is how to design, how to take the next want to go very effective !!
  4. After understand and then debug the code line by line to see, this time to see that the code will know which method or interface definition, what you want to achieve functional
    thinking is very clear, like a map in your hand, wherever afraid , know where it is, then how to walk, how you can go !!

Do not expect to understand all at once

  1. For example, such as the String class, when I see which involves a lot of other categories of knowledge, the simplest traffic on such Integer.valueOf () method,
    these classes which in turn call other design and implementation, so this time you can first put after a release, so you understand the Integer class behind the back to see you here suddenly understand, no need to try to make sense now all of a sudden
    like this will disrupt your rhythm, resulting in fits and starts the net effect, or according to their own plan, one by one system to!

Of course, preliminary work was also well prepared

  1. To give an example, String Unicode which involves a lot of knowledge, such as high agent, the agent is low, displacement eight operations, 10 operations, etc., if and UFT-16 Unicode encoding these do not understand, then can not understand , these prerequisite knowledge must be mastered
  2. Another example is the spring with a lot of design patterns, singleton, factory, combination, decorative, agents, etc., if these design patterns are not clear, then just beginning to see is certainly more difficult, so be sure to have basic skills before looking to preview achieve the effect, a multiplier!

Adhere to the most important

  1. This one will not engage in a will that do, this may be the hardest thing to do, because in real life, are very busy, so you have to think of ways to improve learning efficiency, because time is limited, people with learning one hour you learn an hour efficiency is likely to be completely different
    so that those who complete high efficiency to put you behind, so my tip is to be sure to take notes --- !!!!
  2. It is important to note, blog Ye Hao, their notebooks Anyhow must be streamlined, concise, unless you never forget! Otherwise notes this stuff is useful, but also that we must explore effective method of note-taking, to avoid waste a lot of time! it's like, I do not learn on the line, but not necessarily learning progress, the method has a great relationship with
    some time to learn but you can not make progress also play well, wasted time, so it is a good way to find important, I note also that when he started college, worked for a while, slowly find their own way, including the notes began to remember cumbersome, later he began to focus on technology, concise of

Multi-reflection, and more to learn from others

  1. Many ask yourself this month and next month there is any change, in theory, 99 percent of people do not have this problem, I actually would not ask, but this is a desirable goal, right
    simplest approach is to record diary, so do not forget the last month I have been doing every day, compare, I do have progress, so

  2. Another point to see what those good people are learning, how to learn, a lot of time to correct their direction!
    Things to focus on, you know, that play when you play, it's time to learn to learn!

  3. Of course, there is one point must have their own habits and plans, others do not and I do, so try the most tired, like on your watch colleagues to learn, you're nervous, you are learning, this time you are passive, Once colleagues do not learn, you do not learn, this is very bad
    you have no initiative, must have self-awareness, for example, I planned to do that night, to the day I do, even if others are playing or learning can not affect me!
    I was very popular with the influence of others, so now basically renting himself a man, and more comfortable, have their own habits and plans !!!!

communicate with

Finally, the study may not be useful in fact, you might not even to a 35-year-old Hunde Hao, such as those who are not learning, but the knowledge that you installed in the stomach is good enough for a lifetime, in a word, anyway, no harm!
Of course what the first body at all times, always the most important health, learning should stop, the chase drama playing the game should be proper rest, you can play the game a pleasant mood, prevent senile dementia, chase drama can expand your horizons, teach you many living truth
these are learning and do not conflict, do not become the only window to learn my wife!

Guess you like

Origin www.cnblogs.com/houzheng/p/12153849.html