about
- Wechat official account: Love-Fed
- My blog: Loeb’s blog
- Zhihu column: Front hula hoop
- Making: link
preface
Recently in the public account and the article often received some readers’ messages and comments, this article is my selection of some more valuable questions about the front end of learning, hoping to help those readers who have similar front end problems, but also for their own answers to do a unified arrangement.
Question and answer
1. I didn’t contact with the front end, is friend introduction and training institutions, training for more than four months, the office of a company, half way to take over their project, look for nearly a month still is not very good, want to give up, but the front end of the high salary is very attractive, don’t want to give up yourself, so want to find a very effective way of learning.
A: Since I have persisted for so long, I think don’t give up easily. Everything is difficult at the beginning. It is not only the front end, but after it is over, I will feel much easier.
Do not do front-end work just because the salary is high, it is easy to get tired and boring, you should explore your interest in learning and fight for it, so that you can learn easily and freely. In addition, the front-end is currently high because it is not very studious, all kinds of new technologies emerge in an endless stream, really excellent front-end is still very rare, we must maintain a good learning heart to not be eliminated.
As for the learning method, according to your situation, I think you should find a company willing to train you at the beginning, and you must have some experience in the front to guide you, so that you will have a certain direction of learning and solving problems, otherwise you will be confused.
If you don’t have a front end team, unless you have a strong learning ability, it is very bad for your development. You can consider changing to another company. The salary requirement is not too high at the beginning, even if the salary is low, it is worth going to the environment that is conducive to your growth.
In addition, we must read more books at the front of learning. We will buy books on which aspects we feel weak. Books will help you improve yourself systematically from easy to difficult. At the same time, in the process of learning, you should also take notes, write down the knowledge points that you do not understand or are valuable. When you are free, you should read the previous notes more. It is recommended to use online Youdao Cloud Notes and Evernote.
Finally, it is necessary to knock more code and practice, theoretical things are invisible, you need to knock out what you have learned, it is best to knock out a demo after their summary, or knock according to others’ demo, otherwise it will be easy to forget.
2. I am a student in school, and I am going to have an internship in a company soon. At present, I can basically understand JavaScript code written by others, but I cannot write it myself, so I feel very sad.
A: First of all, learning front-end or other languages will experience the process of understanding the code and knocking on the code. If you can understand the code but don’t know how to apply it, it means you haven’t reached the level of knocking on the code. Every beginner will experience this, and it’s not your unique problem.
As for how to learn JS, if you now have a certain understanding of JS grammar, so in addition to look at the code, more important is to knock more code, even according to others’ examples also do not stare at. Other beginners JS can find on the Internet to imitate some simple examples, such as “button in the countdown”, “back to the top” effect, etc., do not see the somebody else give the code from the start, suggested his first think about the implementation steps and logic, and then try to realize, encounter problems such as the analysis is how to solve the somebody else’s code, This will help improve your JS thinking level.
At the same time, make good use of your time during the internship. The internship itself is a learning process, because the internship can contact some companies’ projects, can have a lot of practice opportunities, which is very helpful to the novice.
Finally, it is suggested to read JS related actual combat books, books are very systematic to help you learn JS, and remember to take more notes, more summary, more thinking.
3. I wonder why vUE is so popular. Many recruitment positions require familiarity with VUE. A lot of big company stuff is not guaranteed to be kept up to date, let alone personal work, and front-end development is so fast that other MVXX frameworks will be popular in a few months.
Answer: I personally think vue today actually is not a personal project, behind it there are a lot of developers and users with maintenance, including big companies such as alibaba, even if which day the vue do not maintain the author could not stop the continued development of its ecosystem, such as ali based on vue Weex project, also is a relay.
There is also the possibility that Vue is out of date, which means that other technologies will take its place, just like seaJs, whose author Yu Bo said, “With the launch of ES6, there is no need for seaJs to exist.” If this is the case, then it is not unreasonable, because a technology will eventually be replaced by a new technology, but at least it lays the foundation and paves the way for the new technology to emerge.
In fact, learning a framework is not about learning the technology itself, but learning its ideas. While learning Vue, you will also be exposed to and consolidate knowledge in other areas of the front end. Therefore, why many people learn Vue easily after learning Angular?
4. After graduation this year, I found a job in a state-owned enterprise. After two months of comfortable life, I felt that it was not suitable for me, so I went out to learn the front end. Because my study was not solid enough, I stayed one grade, that is to say, I learned one more month. My last class is now facing employment, and it is not easy to find a job. I am either pushed in or required to have work experience. Now I am worried that I cannot find a job.
Answer: the personal feeling that what the training institution learns may still be quite basic or have certain gap with the actual work, so still have to see the current front technology trend, self-study is very important. In addition to learning, you should find an internship as soon as possible after graduation. It doesn’t matter how much you earn at the beginning, as long as you have the opportunity to exercise. After a few months of hard work and some experience, you can find a job, and then the job will be much easier to find. Before graduation, you can use this period of time to do some demo of the skills you have learned, not too simple, put in the resume is very helpful for the interview.
Many companies take a fancy to the interviewer’s ability to learn, if you are in the interview showed a strong learning knowledge ability to solve problems, even if it doesn’t matter basis difference, because they believe that practice a hire you in a month or so can begin, so read more at ordinary times, book can system introduced a technique, the teaching video on the net what see is not recommended, Personal feelings are too mixed too general.
5. I want to know how to calculate JS learning better, because has been doing JS always feel more traditional writing, like engineering this aspect is not good, now JS is generally modular, more and more like the back-end language object-oriented, and the use of all kinds of packaging tools, React and Angular frameworks are built around the core of JS, so if you want to master their JS, you have to get a certain level of mastery. How do you define the mastery of native JS and ES6?
A: Before mastering MVVM frameworks such as Vue and React, you must lay a solid foundation. Native JS and current ES6 must be mastered. This is a prerequisite, otherwise you will be tired to learn. Front-end engineering is mainly a product of improving front-end performance, development efficiency and maintenance efficiency. It is also the current and future trend. As long as you keep up with the idea, there will be no big problems, and it can also be extended to the front-end architecture level.
As for how to define the master degree of native JS and ES6, I personally think I can use native JS to independently develop projects, not lazy in jQuery and other framework libraries can be counted as master, of course, I only make a judgment standard here, the actual project will not be written with native. And can use ES6 syntax, attributes, methods in es6-based projects to reduce the amount of code, improve the efficiency of development can also be considered as a good grasp of ES6. In addition to the above standards can also be based on whether familiar with jQuery, Zepto and other libraries or framework source code to master the native JS to a certain degree of judgment, some people put “JavaScript advanced programming” and “JavaScript authority guide” read more than 3 times and thoroughly as master.
conclusion
Just as the so-called “foundation is not good, it is difficult to build tall buildings”, learning front end is the same, the foundation is not good, it is easy to meet technical bottlenecks, finally attached to a few good front-end learning website:
- FreeCodeCamp: FreeCodeCamp. Cn/home
- Summary of WEB front-end knowledge: note.youdao.com/share/?id=b…
- Front-end collection: github.com/jikeytang/f…
- Front end development improve tour: www.kancloud.cn/digest/ying…
- A front-end self-improvement: taobaofed.org/blog/2016/0…
- Front end TOP 100: www.awesomes.cn/rank