How do Java beginners learn Java? (Share your own learning experience)

Share my successful experience of self-learning java with friends, because I also learned through CSDN at the beginning.
First of all, I start from my own learning experience, and then talk about my views and suggestions on learning java. This is helpful for beginners, I hope you can learn something useful to you.

1 Down-to-earth for undergraduates.
Fill in the volunteers after the college entrance examination. At that time, I actually didn't understand it. I thought the electronic information engineering seemed to be pretty good, so I filled it out. In the four years of university, apart from the C language in school, I did not learn any second programming language, and the C language is only a beginner level. What did I do in college?

I decided to go to graduate school in my freshman year, so I have been studying hard, advanced mathematics, linear algebra, probability theory, college physics, and some professional courses such as digital and electronics, analog electronics, signals and systems, communication principles and so on. To be honest, I am very serious, partly because of my study habits, and partly because I want to study graduate school, so I take every step of the way very practically.

Among my peers, execution and perseverance are comparable to me, few, and I don't brag about this. The university did not take less scholarships, at least it can offset my four-year tuition. The microcontroller has also played a lot, 51, 52 and later ARM9 have played. At that time, I bought several boards and wrote programs to run. Embedded is quite interesting. But after graduation, I regretted it a bit. why? I didn't learn how to program! Except for writing some simple C code, other programming skills are zero.

2. The enlightenment of graduate students
After I was admitted to Tongji, my major was electronics and communication engineering. From the beginning of the research, I was very clear about what I wanted. Postgraduates also have to take courses, such as basic courses, professional courses, and so on. Graduate students also have topics. They need to read various papers and write papers. In fact, they are quite busy. The only requirement of my graduate student is to improve my programming skills. I was looking at C++ at the beginning. After reading the syntax, I looked at the data structures and algorithms based on C++.

I really decided to learn Java in a semester. At that time, I had a lot of talks with some big guys on eBay. It was not that I learned some awesome technology, but I broadened my vision and started to have some ideas of my own. . Later, I studied hard in the laboratory for about a year, starting from the basics of Java syntax, to the collection framework source code (at that time JDK1.8 was just released), to network programming (basic), to data structures and algorithms. After the basic knowledge, I started to learn Servlet/jsp (now not used directly), then to Spring, Struts2, Hibernate (SSH framework, now rarely used), and then to Spring, SpringMVC, Mybatis (SSM framework, this is now Still in use), then to the basics of Java concurrency, and then to some middleware, etc., and then I started to learn Spring Boot and so on. During this period, I did 4 actual projects.

3. How did I teach Java by myself?
At the beginning, I also collected some scattered materials to study by myself, but I always did not learn it well, I didn’t have a clue, and couldn’t achieve good results. I didn’t know how to deal with difficult problems and no one explained them. A java learning group was accidentally added to CSDN. At first, I just added it casually. I didn’t pay much attention. Once I encountered a problem, I just asked it casually. I did not expect that several people would give me detailed answers. A lot of discussions, which made me really gratified, so the technical questions I encountered afterwards were all asked here. If you are learning, you can recommend it to you if you need it. The group number is: 3907814 , I am now I still stay here, and often discuss and answer questions here. This is a group of more than ten years, and there are many people who know technology, which is very helpful for learning java.

I read the book for about a week at first, and then I threw the book aside and couldn't get in! I think my head is okay, but I can't get in. This is also a common problem for beginners. Many readers also told me: Brother, I have read the book, but I still don't feel it. My TM came here too, haha. So I watched the video. Find a good video, follow it carefully from beginning to end, and make notes. That's also the beginning of my blog.

Everyone has a urinary sex. If you do something without seeing obvious results, you will slowly slack off and slowly wonder if you are right and suitable. Java is the same. Don't read some profound books at the beginning, because you can't understand them at all. If time is wasted, you will slowly give up studying.

I really hate those people who recommend a lot of classic books to some beginners as soon as they come up in the post forum. They seem to be very knowledgeable and very naughty, but they are not very useful. Including Java concurrency, SSH, SSM framework, components, middleware, etc., I watch all the videos. Of course, I gnawed some source code by myself. When you have the foundation, you are on the road, and you go to read books, not just to understand the problems that cannot be understood, it is a real improvement.

But these are not enough, you can't use them after you learn them. Project actual combat is necessary. There are many free actual combat videos on the Internet, but I think it’s not good because I already have a foundation at that time and I know how to choose my learning resources. I still want to emphasize here, don’t be stingy. Investing myself, I also bought several actual combat videos of the projects and followed to learn, to improve a lot of actual combat experience.

Of course, I also have a lot of high-quality video resources here, which may be enough for everyone. There is no need to spend money like I did at the beginning. At that time, I taught myself and didn't meet anyone who knew how to share like me. Therefore, readers who lack video resources can contact me and comment on me. I just share it. There is no bundling fee or anything, just to help more friends.

But many people can't hold on. I also said at the beginning of the article that among my peers, execution and perseverance are not much comparable to me. I also came here step by step from Xiaobai and spent a whole year or so on self-study. I have done several projects, and I dare say that what I learned in school this year is no worse than others' ability to work outside for two years. So many people think that long working years are awesome and knowledgeable, but in my opinion, this is not necessarily true.

I used to sleep directly in the laboratory for several months. In addition to reading papers and completing the tasks of my supervisor, I spent all the other time studying. It was 11 or 12 in the evening. Otherwise, it would be impossible to write so many things in a year. Part of it is also written as a blog. You know, blogging takes a lot of time. If you can persevere like me and demand yourself so strictly, I don't believe you can't learn a thing. Even if you can't learn it today, what about you in a month? One month is not good, you have been going for a year, right?

Just like Jack Ma’s father said: Today is cruel, tomorrow is even cruel, and the day after tomorrow is beautiful. But many people insist that tomorrow, he will never see good. Just like me, I didn’t insist on paying, where did the result come from? Therefore, there is no shortcut to programming, just pick some good information and do it! Just go forward, rush forward, and learn from death!

4. When encountering a choice, how do I choose?
I had just graduated from my graduate school and I went to Huawei. My job was Java software development. After I entered, I started to do communications. I was wondering that my postgraduate study was communication, and I taught Java by myself, but I returned to communication, which was very embarrassing.

So I left afterwards. Some readers asked me, why did you give up Huawei’s high salary? I said that my interest is not in communications. I have my own plans. I decided to leave Huawei not for money. At the very least, my life now is better than that of Huawei, and I believe I will do it in the future.

When encountering choices in the workplace, I personally feel that I still have to combine my own interests. The most important years of life may be the few years after graduation. Those years also determine the industry we will be engaged in to a large extent, so we are doing When choosing, you need to combine your own interests and weigh all factors.

5. Summarize: To
learn a technique by yourself, you must first be able to use it, first establish interest, and then think about improving and de-internalizing. Otherwise, you can't stick to it. To learn a technique by yourself, you must have a plan, and at least you must know what you want to learn next. You can't take it step by step. If you have a plan, you must have a plan, and if you have a plan, you must have an implementation.

In the process of learning, never be stingy to invest in yourself, spend money if you spend money, now is the era of paying for knowledge, such as CSDN GitChat master class, geek time, etc., some of the courses are quite good, and some training institutions’ videos Not bad. There is nothing wrong with spending money to improve yourself.

Do anything, leave the word persistence, that is nonsense. If you can succeed casually and do things well, if you can do things personally, then you have no competitiveness. There is a saying that it is good: cleverness is worse than stupid persistence.

If you don’t understand, you should ask more. No matter what kind of person we are, no matter who we ask, no matter if others are better or weaker than ourselves, we must lower our attitude and be more modest. If one day we are a little influential, try our best to help more beginners and help more people with a low profile, because we also come here like that. People who are more powerful than ourselves are everywhere. People, don't swell, you must know how to keep a low profile.

Guess you like

Origin blog.csdn.net/weixin_49794051/article/details/108573227