Thoughts and perceptions about the front end

All beginnings are hard.

When I wanted to write an article seriously to share my knowledge and insights on the front end, I suddenly realized that this sentence is really reasonable.

In recent years, there have been many rumors about the front end of the web, such as the scarcity of talents, easy learning, generous pay, and good overall momentum. I have met a colleague who is not very familiar with back-end development and asked me what I need to master to learn front-end. I have also heard of a person who is engaged in IOS development and prepares to learn front-end by himself for half a month and then wants to find a front-end job. I have also seen someone The scarcity of front-end market talent has been touted as follows:

Now, almost the entire Internet industry lacks front-end engineers, not only in start-up companies, but also in listed companies and even giants. Yes, good front-end engineers are scarcer than pandas.
...
not only in the domestic Internet industry, but also in foreign countries, front-end engineers are in high demand and in short supply.

For such tout, neither object nor support. Because each person's position and experience are different, there will always be different levels of understanding of things. As a rookie from Chengdu to a rookie in Beijing, I would like to talk about my understanding of the front-end.

1. Regional differences

In most companies in Chengdu, there is a kind of web engineer who is responsible for cutting and layout. They need to know some PS and then use HTML and CSS for typesetting. These people are often recent graduates, and responsive layout is a high-level skill for them. I am honored to be one of them, and because of this, I have mastered the skill of cutting pictures, and this level may be easy for outsiders to get started, but in fact it is still far, far away.

The other is a more powerful programmer. They will js + a back-end language, such as php, jsp. But they will be more biased towards the back-end. They regard html, css, and js as a very basic thing, and more logic is processed in the back-end language, and it is not so clear to associate the html page with the back-end language. separate. So we often see that some pages end with .php and .jsp.

After I came to Beijing, I saw the real web front end. So much so that there is often a feeling of hating why I didn't come earlier, as if from a lifetime. With the gradual improvement of learning, I will feel that the front end of Beijing has a clearer direction.

We will really pay attention to the user experience, so each page will have a responsive layout, adapting from the PC side to the mobile side with a minimum width of 320px, paying more attention to the application of html5/css3 related knowledge, and will also do many functions for user experience. more reasonable processing. Will really seriously consider how to optimize front-end performance that is often asked in interviews. So we use gulp+require to build front-end code, compress, package, and upload cdn.

In general, in Beijing, the front end is more professional and clear, and the development is better.

2. Is interest important?

I once thought about this very seriously, and many senior gods told me, "Interest is very important."
But after careful analysis of my own situation, I came to the opposite conclusion.
Because I didn't find anything that interested me and that I could eat. And now I also feel that as long as I can work hard like this, I can still have a place in the front-end industry. To be realistic, you can choose it as long as you can get down to it and not reject it. After all, people have to eat and support themselves. I think most people cannot live by their own interests.

"10,000 Hours of Genius Theory" tells us that if you focus on a certain direction for 10,000 hours, you can become an expert in that direction. I think this principle is also applicable to the front-end. Focus is more important than interest.

3. What attitude will affect your progress?

Not firm.

At least what I'm sure of right now, the front-end direction, isn't a bad choice. In the beginning, it was often tossing between UI design and front-end. I think I'm a little more interested in UI design. Especially after participating in the design of a video playback app in Telecom, I think I have the opportunity to become an excellent UI designer in the future. But I also feel that I will improve myself a little faster in the front-end direction. So for a long time, I was entangled in this issue, swaying and stagnant. In fact, no matter which direction you firmly choose, in the current Internet industry, it is a very popular choice, and there is a day to come. And the biggest mistake is in indecision.

impetuous.

If I fail to become a good front-end engineer in the end, then the biggest reason must be the impetuous mentality.

Everyone wants to be a knowledgeable, experienced and respected front-end engineer in a short period of time. I also think that this is a mentality problem that is difficult to avoid. Others' high salaries and their own predicament always disturb the mind so easily. Therefore, slogans such as one month from entry to mastery, and three months from entry to mastery are very popular. In reality, however, this is not possible. Training institutions with these slogans can only lead you to the beginning at most. It is even very likely that an old classmate who has been ups and downs in the front-end industry for several years would not dare to say that he is already excellent in this industry. It's not that it's impossible to become excellent in a few years, but there are indeed very few people who can calm down and concentrate on cultivation. So in fact, the actual situation is to take it slowly, the fastest

A few years after graduation, I feel that the biggest obstacle on my way forward is these two mentality issues. This is also the original intention of my official account. I hope to calm down, sort out what I have learned, and share it with everyone, so as to slowly establish my own personal brand, so that others can understand it more simply and directly. myself, and secondly, exercise my mentality. Thank you all for your attention and support here.

The official account will mainly share some front-end technical knowledge and workplace complaints. Welcome everyone to search WeChat isreact and follow me, let us grow together! ^_^

Fourth, how to deal with the status quo of emerging new technologies

Many times I feel that the front end is actually too much for newcomers.
Want to learn a ui framework, what is easyui, bootstrap, Foundation and so on. I want to start my own static blog, what are wordpress, jekyll, hexo, etc.,
want to learn construction tools, what are grunt, gulp, webpack, etc.,
and many legendary libraries, jQuery, angular, vue, React and so on
are really dazzling, how can you tell who is better than who at the beginning. Take a lot of detours by accident.

So at this time we must understand a truth. The importance of the foundation is that it enhances our ability to learn.

Bootstrap, angularjs originally existed in my legend, unattainable. And many companies recruit people want employees to be able to master these skills. So start trying to learn when the foundation is very weak. Obviously, the effect is almost non-existent. On the contrary, it will reduce my confidence in the front end, and it will be easy to shake and feel that I am not suitable.

However, with the gradual improvement of the foundation, I found that it seems that it is not that difficult to master bootstrap and angularjs. I was even able to look at the documentation and put these techniques to use. This was unbelievable to me before.
Therefore, going from being unattainable before to being within reach now makes me understand the importance of foundations.

For the recently very popular react, webpack, etc., there is no feeling of being untouchable at the beginning. The reason why these technologies are popular shows that there are many people who can learn them, and there is no bottleneck that is particularly difficult to master. If your foundation is solid enough, you're a trendsetter in these technologies.

5. The front end is not that simple

The front-end is not simple, not in the mastery of knowledge points and the realization of technology, but in finding better solutions. Even for the simplest page layout, there are endless excellent solutions. For example, when I was in college, I used table elements to implement almost all page layouts. Now I understand the flow of documents and use floating, various box models, BFC, etc. The gap in the middle to realize the layout is very huge for a newcomer.

From the initial writing of a lot of js code to realize the small function of a page, to later found that some people can control all the animations of the entire page with just a few lines of code with html/css. The gap between them is also very huge. of. So the front-end is not as simple as the outside world thinks, and it is not even as easy as mastering a back-end programming language. So we have to remain in awe.

6. Others

study method

From my understanding at this stage, I think the most reliable way to learn is to accumulate. There is a common illusion that it seems that it is getting easier and easier to acquire knowledge in the Internet age, and many people are worried about the so-called excess of information. The reality, however, is that it is more difficult for us to capture information that is truly useful to us. The front-end knowledge is relatively more fragmented and fragmented, and more and more diverse, so the accumulation of knowledge is a very important process.

English is important

The reason why English is very important is because foreign technology is more developed than ours. We often need to read foreign articles to improve ourselves, and we often need to find the answer to our own questions on google search.

In general, on the road of the front end, I have encountered shaking, confusion and confusion. Also because of impetuous mentality stagnant. Fortunately, they all walked over step by step. And I can tell myself with confidence that this direction will not treat my efforts and efforts badly.

After spending a lot of time, I finally finished writing this article, and I burst into tears! Writing articles is really a huge challenge for a programmer. Understanding is that everything is difficult at the beginning, difficult in the middle, and difficult at the end.

This article is reproduced from: segmentfault
article link: https://segmentfault.com/a/1190000004976918

Alt text

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326921761&siteId=291194637