JDK source code and jdk source code
Recently, working overtime is not very serious. I fell in love with viewing the JDK source code. I come back every day to prepare a cup of coffee and start to read it. I have benefited a lot. Since last week, I think it is better to write down my thoughts and learn from them. Read and Write down the results every day. In general, I think the JDK source code is well written, both in code style and reusability. I have read Thinking in java before. I feel that many things cannot be understood in depth, and they are too theoretical. Now, in the light of JDK, I have some insights. In the past, when I had an interview, I collected some interview questions from the Internet and memorized some knowledge. What is the difference between HashMap and HashTable? But after reading the JDK source code, naturally, it is important to understand why there are these differences. What impressed me the most is the JDK programming style. Every method in the class is very short and never very bloated. Although it is short, it implements its functions, this is the most important thing, so that reading is not that difficult to understand. From reading the source code, I also realized the importance of coding. In the future work, I should learn this programming style. I did not write down what I have read some time ago. I must make up for it in the past few days. I will certainly benefit a lot in the future.