By zhangxinxu from www.zhangxinxu.com/wordpress/?… This article may be reprinted, but the original author and source must be identified, and do not edit the original content.

Before zhihu on many colleague invited me to answer some of the front-end related issues, but we all know, is to answer a question that need a lot of time and energy, for me is still in continuous learning accumulation stage, occasionally scattered energy originally, disturb her original rhythm, is actually a matter not cost-effective. Just like email or wechat, when you read a message, your time and energy will be greatly dispersed, and your work and study efficiency will be greatly reduced. So my strategy is to dedicate time over a period of time to unity, so that the time utilization is higher, the input-output ratio is higher.

To zhihu on the front end, I’m going to use the same routine, while there are two nights before the Dragon Boat Festival of free time (correction: the night two nights absolutely make uncertain, afraid to to all written) by the end of the month, decided to take ten more representative, questions to be able to manage the front end of the unified answer.

Question one, front end now how so many people?

The original question address is: www.zhihu.com/question/55…

The problem is described as follows:

Resumes that are sent out are not read

My answer:

After a while, let’s start with a personal story from a non-front-end field.

My hometown Jiangsu Taixing is the hometown of Ginkgo biloba in China, the output of 1/3 of the country, and my grandfather xuanbao town in addition to small wonton out, or is the first township of Ginkgo in China. When I was a kid, medicinal value and use value of ginkgo biloba was excavated, ginkgo surge in prices suddenly, at the time of the ginkgo tree is grown, no one specially those old trees are all long long time ago, more than one hundred, or all of them are big and thick ginkgo tree (see below), ginkgo biloba 30 ~ 50 yuan per catty, at that time The 30 yuan before 20 years is equivalent to 300 yuan now, and a hundred ginkgo tree a year can produce the ginkgo of 1000 catties, according to present purchasing power, be equivalent to a tree can bring annual income 300 thousand to a family, so that time close, hear urban area has flatlet, boon, still go! Heard that there is a hundred years of ginkgo tree in the home, depend, directly became! At that time, a ginkgo as big as a finger could be sold for a few cents, which could be exchanged for a catty of watermelon. So much so that when ginkgo ripens, the tree owners (mine in my field) stay out all night.

A look at this thing is valuable, the government and encourage, so every family, really every family, including my grandfather, in front of the house and behind the house all grafted ginkgo trees, a lot of a lot of trees, but this thing ah, it is not a graft can mature, not 3,5 years, flowers can not see a. Then a few years ago National Day back to visit, ginkgo mature season, the results found that every household ginkgo trees are hanging yellow mature ginkgo fruit, it is very strange, how do not accept ah?

Later chat with grandpa learned, ginkgo is now a much money a catty, deduct a fruit, molting, and a series of labor costs, is completely at a loss, so we all get fruit hanging in a tree, fall naturally, then rot in the field, a lot of people, even the very not easy to grow up directly to the ginkgo trees are cut down directly, and kind of sweet potato peanut.

I think the front end is now so much, and the ginkgo tree suddenly so much is similar.

It’s essentially market demand.

One is the rise of mobile Web (essentially the emergence of multi-terminal), the other is the development of big front-end brought by node.js, and the third is the rapid development of China’s Internet, including the transformation of many traditional industries.

It’s the same thing that iOS and Android developers were in high demand during the rise of smartphones, leading to a glut of developers.

History is strikingly similar, but unavoidable.

After all, the salary of the Internet industry is indeed much higher than that of other industries. Once there is a huge vacancy in the market, there will naturally be a lot of people rushing to this piece of cake. It is good to come early and still get a bite of the cake. As with the stock market, some people are sharp and jump in when a bull market is going up, but most people jump in when everyone already knows things are hot, often with low returns and high risks.

So when zhihu began to appear on the “front end now how so many people” such a problem, has indicated the market began to saturation, those who took advantage of the spring breeze, listening to the front end is very fire, and looking at high wages to enter the industry’s friend and head into the stock market bull market, people make money also follow a ginkgo tree, ginkgo biloba is bound to face value and risk two major problems.

In front of the market, we are all commodities.

When the market stabilizes, it’s the real stuff that ends up on the shelves. Time will prove everything. In fact, it means the same thing.

So, friend ask this question, you should be aware of the problem lies not in the front there are so many people, and on the front end this one should be aware of their own attainments also not line, intention during the spring breeze into an industry, and has the dacheng, the probability is very small, because his career it is a long-term process, even if you took advantage of the industry to enter the industry demand shortage, Your own ability is not up to standard, will always stay in this position, will gradually become a marginal role, life is not necessarily happy.

You think ah, if you are outstanding than most people, ability better than most people, then many people don’t need to worry about to enter the industry, so in fact, most important, get down to their own good front knowledge to do the jobs, learn the solid system, don’t have any idea, to coin money overnight group will be small probability events, But it’s not going to happen to you as an individual.

When I graduated from university in those days, the accumulation of front end that actually has much more than a lot of people, but I still quit his job, the unemployed retreat to learn the basic knowledge of 9 months, what do you think I now early 30 s, though in one line, but don’t worry about small meat replace his position, because the internal work is solid enough, these things? The ones that really stand the test of time.

So, if you just sit back and focus on your growth, you know, one day, hey, there’s the Internet of Things, there’s a lot of front-end jobs; With the rise of artificial intelligence comes the front end; JS is already deep into biogenetic engineering, another high-paying position.

At this time of you, standing in the starting point of the bull market, he is a huge healthy ginkgo tree, and the price of ginkgo is very high…

But the ginkgo story is not over yet. Many farmers cut down their ginkgo trees and replanted ordinary crops, so the price of ginkgo has been rising in recent years… Don’t worry, if you stick to it for another year or two, there will be new opportunities!

Question two, how to go the way of Web front end?

The original question address is: www.zhihu.com/question/34…

The problem is described as follows:

Just graduated, in the company has been doing front-end development, before I was to learn some basic front-end knowledge (HTML + CSS + JS). Now more and more confused, do not know their own to learn which aspect. What I learned in school is some basic knowledge. After graduation, I learned JavaScript by myself. In this company, it is not required to build pages quickly, but I want to improve myself. .ask everybody elder to give directions!

My answer: You are right to want to improve. The requirement of the enterprise for employees is to build a page, which will only be in the following two situations: 1. The page quality is top level in all aspects, and you can achieve the maximum profit; 2. 2. Your technical ability can only build a page, other work to you do not trust. Because you just graduated, I think you should be the second, so, if you are satisfied with the status quo, necessary for their career development is very bad, any job can be easily replaced is not competitive, a page is the threshold of the IT industry the lowest position, no one, while actually wants to take the good need to accumulate a lot of, but, for most enterprises, Most users, most scenes, just need to pass the page vision, and this level of requirements is too good to achieve, and too many newcomers are this level, leading to the emergence of “problem one”.

In theory, as long as you are proficient in HTML and CSS and the page is good enough, you can also get into good units and have good growth. Difficult, however, for most students, often is a slippery slope, the so-called YiYeBiMu, see, a simple and comfortable and easy to make people ignore the boundary and the underlying continuously explore, and even large companies, also don’t want you to change too much energy on earnings don’t directly is not obvious, the so-called people in jianghu, though, so it is difficult to stick.

Therefore, my suggestion is to give priority to JS learning, learning must be systematic, must be basic knowledge.

There are two kinds of learning: experiential learning and systematic learning. Experiential learning can harvest some knowledge not found in books, such as the pit in wechat browser, and the possibility of repeated use of knowledge with a high probability, which can be said to be a way of learning with a very high input-output ratio. But the deficiencies are also obvious. First, the knowledge learned is relatively narrow, taking the page for example, the commonly used CSS goes backwards and backwards, so that many partners have not seen unicode-bili CSS attributes; The second is that the work efficiency is not high. Once we meet a scene or demand that we have never touched before, we will not know where to start. We will ask people for help, and a lot of time will be wasted. The third is that technical implementations are often not optimal, for example, if you want to know whether element A contains element B. We know from previous work that parentElement can get a parentElement, so maybe we’ll write a method that iterates over the parentElement to determine if the element is contained. Write people think that wrote a very powerful method, but do not know, browsers, including lower versions of IE are natural support elements contain DOM method contains.

And systematic learning is necessary to become a technical expert, all knowledge points in the brain (or impression), naturally want to achieve what easy. However, systematic learning is boring and time-consuming, and some knowledge may be used less than a few times in a lifetime. On average, it seems to be a business with high input and low output efficiency. People always like comfort and hate useless efforts to pay, therefore, there are very many developers of knowledge are experiential learning, and then 1 year experience 3 years use, and then midlife crisis.

“Basic knowledge” is relative to the upper tools or applications, for example, recently Vue is very popular, for you just graduated, and the company does not need you to write Vue, therefore, Vue even if it is said to the sky, do not go to study, take the time to learn JS basic knowledge, the original things.

Although the front said to learn to system, but, JS knowledge point so much, if every point of knowledge spend a lot of effort to learn, not to say can learn to understand, afraid is the root can not afford so much spare time. Therefore, it is necessary to point out which content is suitable for your current study, otherwise learning without focus is like a fly with its head cut off. It is easy to get lost.

Learning JS from non-computer major background

  1. It is very important to have an overall and perceptual understanding of JS language;
  2. Master JS string, function, object, array, literal and other basic concepts, memorize all built-in methods (including parameters and return values);
  3. All inheritance and prototype related content skip, note, skip, do not look! Without these JS can live very well, your daily work as play fly, of course, you did not resist to read the relevant knowledge also does not matter, because you will find that they do not understand;
  4. DOM events and all DOM methods must be mastered unbreakable;
  5. Learn regular expressions well;

However, to remember all of the JS string, function, array related methods, all of the DOM related methods is quite a huge job, because, it is easy to forget, the method is also very simple, the so-called good memory is better than bad writing. The editor JS complete prompt to eliminate, from the small interaction, try to use native JS writing, writing, will remember, this is the fastest way to learn and grow.

The learning process must be painful and lengthy. Don’t say things like “I’ve read JavaScript Advanced Programming and JavaScript Language Essentials. What do I need to learn next?” You think you are Huang Rong ah, look at remember! I also read these two books to learn JS. The book “JavaScript Advanced Programming” has been turned over to the page. The book “JavaScript Language Essence” is full of notes, which knowledge point can not remember, basically one turn can accurately reach the corresponding page. Because I’ve been through it too many times.

Persistence is the key to success in learning.

In a relatively fair environment, if you want to excel others, you just need to be able to do things that others cannot do. For most of the front-end computer background practitioners learn JS system is difficult to stick, time is long, the income is slow, but, if you insist on down, you’re beyond these people, you are not a grab a handful of pages, and acquire the real hot front-end development, completed the front-end development domain class. If you’re learning like you’re giving up, think about this sentence and you may have extra motivation.

Question 3. What are the criteria for a solid foundation of front-end development?

The original question address is: www.zhihu.com/question/38…

The problem is described as follows:

1. Sister, at the front of training and learning, SOME people say that programmers should not be trained because of their weak foundation and poor self-learning ability, so I have to pay attention to this problem. In my last job, I was engaged in recruitment. I have also learned that some enterprises do not teach themselves, because they have not gone through systematic learning and the foundation is not solid. But some people also say that they prefer self-learning to training. 3. The feeling is that the world is so complicated, everyone wants different, that in fact the only standard is the basic, ok?

Which begs the question: What is a solid foundation for the front end, or any other IT role?

My answer: In fact, we can understand this question through the literal meaning. First, we should understand what is “basic”, and then understand what is “solid”.

The Chinese characters for “foundation” include “earth”, “stone” and “mountain”, which were originally used for building structure. Due to the existence of earth gravity, modern buildings are built from the bottom up, and the bottom layer, which is used to stabilize the building, is “foundation”. As we all know, the higher the building, the more solid the foundation must be, otherwise there will be “see him zhu Lou, see his building collapse” situation. In this world there are a lot of things are built from scratch, it is the same with a building ground, a first, and then slowly add things up, eventually form a complete, and the “base”, we also call it the “base”, may be regarded as the life for the development of things.

Personal skill growth is a typical process of building up from scratch. For example, playing basketball, basketball rules, dribbling, fixed-point shooting and so on are very basic things, which can be called “foundation”. Even Michael Jordan, the god of basketball, grew up on these foundations. For example, front-end development, before contact with this stuff, we obviously know nothing about it, and then I wish that play some tricks, this process from nothing to something called “foundation” in it, what is it?

Going back to the problem itself, front-end development in the industry is actually divided into two categories, one is partial logic system, one is partial vision system, no matter which department, the foundation is inseparable from HTML, CSS and JavaScript, but different departments have the most basic things are different, if it is partial logic system, the foundation of the foundation is JavaScript, As for logical thinking ability and abstraction ability, they are not foundations but gifts. Foundations can be consolidated through efforts. If they cannot be consolidated no matter how hard they try, they cannot be called foundations. If it’s visual, the base of the base is HTML, yes, HTML, not CSS, although CSS is a few blocks behind HTML, but the base of the base is HTML, with its own behavior and style, the front end of the front end. The same aesthetic ability and concrete ability is not the basis, this thing is born, it is difficult to practice.

The girl who asked the question had a previous job as a recruiter, and based on my dubious empirical guess, the girl should be visual, and the basic order should be HTML > CSS > JavaScript. We must not have such a mistake, think that the importance of the foundation is proportional to the learning time, in fact, it is not like this. Many people learn HTML estimates that just a few weeks time, think very good, can be written on my resume “proficient” 2 words, because the final effect seems indeed as expected, I say this not to poke fun at these people “槑”, but to express the HTML this language is quite severe, it is a language will be very long sheng, Because of its importance, it’s also very easy to get started with, and as it develops, it may become universal.

The point of this question is actually “solid”. First, let’s talk about “solid”. Take rice for example. If we fill a bowl full of rice and press it again with a spoon, we will feel that the rice is “solid” and full. Although there is rice in the porridge, but in fact 80 or 90 percent are water, water we all know, into the stomach for a while a bubble of urine a sprinkle did not……

In fact, the study of basic knowledge is similar, so “solid” is to be full, is to have no gap, is to have no water in it. If the basic knowledge, whether HTML, CSS, or JavaScript, is like a bowl of rice, then the grain of rice that we spend two weeks building up, or the grain of rice that we use to develop projects, is like the rice in a bowl of porridge, even though you’re full and you think you know the whole world, But all you really know is a handful of rice in a bowl, and that’s just not “real” enough.

Therefore, the so-called “real”, is from the center to the boundary of all a detailed understanding, for example, a very simple example, I asked my factory interns the question: “CSS vertical-align support several key attribute values? CSS vertical-align does not support negative values? The percentage value of CSS vertical-align is calculated relative to which attribute?”

CSS vertical-align = bottom CSS vertical-align = bottom CSS vertical-align = bottom CSS vertical-align Then too many people will think vertical-align:top/middle/bottom is the vertical-align attribute of the world, this is typical CSS front-end knowledge is not solid, want to solid very simple, MDN documentation looks. HTML has a lot of tags and attributes, there are new tag word behavior, some attributes with their own behavior, and some attributes with their own style, and affect barrier-free access, want to “real”, the document one by one, must not fall, remember; CSS so many properties, what is the default value, what is the value of the supported properties, what is the definition, are very simple things that do not need logical thinking, all one does not pull to remember. Then you will find that these are actually on the surface of something, you spend two weeks time is no time to see, I don’t think a lot of people look at the two years after, or simply don’t see down, quiet any heart, eyes sweep speed, well, I know, these things, good simple, in fact, what all don’t see the fart, as if the wrong character in their articles, Sometimes you can’t see it after a dozen times. To see something different from what you think you know, it takes talent, mindset, focus, and so on.

So, while I’ve answered the question carefully here, I’m extremely skeptical of how much good will come of it.

Finally, answer “zha”, “solid” is “full”, can be understood as breadth, “zha” can be understood as depth, we can look at two pictures, image feel this “zha” this action:

In other words, a solid foundation means to “go under the water”, “go under the skin”, that is, in addition to memorizing the surface of the definition, grammar, parameters, but also need to think, why design this way? Why is there such a performance?

As a simple example, we’ve all been told, more or less, that to write a page to conform to W3C standards, HTML must be semantic, but have you ever wondered why you care about semantics? The reason behind this is “za”.

If we put the front end of the basic knowledge than many people, so the front end of the foundation is solid, including: all of you, I know what your name is, what your parents are called, where to work, what is the constellation, what is the specialty; I even know why you got your name, why you got your personality.

See, the words “front end basics” seem so simple, but actually getting it right is very difficult. HTML, CSS and JavaScript belong to three different languages, and each language has a lot of basic knowledge. It must take a lot of time to learn and accumulate if you want to remember all of them and be able to freely apply them in projects.

But if you accumulate to a certain extent, just like a tall building, you have a very good foundation, and in the future in the front field, especially the technology, the height will be very impressive in the future, and continue to rise. And virtually from a front-end user into a front-end creator, become a real senior front-end developer, become the industry’s xiangbobo.

Question four, the front of the new confusion?

The original question address is: www.zhihu.com/question/54…

The problem is described as follows:

In my sophomore year, I have been learning front-end for more than half a year. Although I can’t say I am proficient in HTML, CSS, JS, JQ, less and bootstrap, I am also proficient in them. I have also done a lot of projects. Recently, WHEN LEARNING React, I began to feel overwhelmed. After learning Webpack, NPM, Node, etc., I felt totally confused. I couldn’t understand the configuration command line, and I felt like I was in another world. Arrived at this stage how should continue to learn to go to, be the problem that my basic knowledge is insufficient?

My answer: the young people now, is impatient. There is an old saying that one cannot know the true face of mount Lushan, but is only in it.

If only look at the surface of the problem, can not go on, certainly because of the lack of basic knowledge, mainly the basic theoretical knowledge of computer, at this time we can see the advantages of computer professional background and in fact JS master is very weak.

But it seems to me that you may be going in the wrong direction, or that there is a sense of blind learning.

I think the most important thing I learned from college is “self-recognition”. I bought a thick book on psychology called Personality Psychology and read it very carefully. I read it page by page, with notes and observations on almost every page. This book is a turning point of my life, it let me understand, why am I so alone, why it would be rare to character distribution on the two opposite end, why the inner is more like a girl, sensitive and exquisite, like with a girl, like to listen to song girl still normal (orientation), how many personality traits scale, where the advantages of this kind of character, Where is the deficiency and so on.

The benefits of self-awareness are greater confidence and inner strength. If someone says you’re a pervert and says you’re a mean person, you don’t have to take it personally because you know who you are. You know where your shortcomings are, so that you can work hard to improve yourself in the future. You know where you are good at and from which you can go higher and farther. You will not be blind when learning. Even if it is a road that others have never gone before, you will stick to it. Attention, the last point is the key point I want to say, the so-called “self-knowledge”, people’s energy is always limited, blindly learning, or even directly to bite their own bone can not bite at the moment, in fact, is a senseless consumption and waste. In my opinion, learning React doesn’t serve any purpose other than to make you feel good about yourself if your goal is to get on the awesome front end team. Because in school and even social recruitment, the foundation is definitely more important. Therefore, I think it is necessary for you to think carefully about what my major is, what my interest is and what my strongest trait is. Since you say that react is incompetent, react is obviously not suitable for you at present. If you further analyze the essence, it may not be suitable for you in your life. The university years pass quickly, if you want to get the offer weak, you must carry out basic research, jQ, less, bootstrap to learn do not learn how to use, but learn other people’s source code, why so implemented, if you do not understand, do not understand, it shows that your HTML, CSS, JS foundation is still very weak, There are still a few streets away from proficiency, need to continue to accumulate, and then continue to accumulate, will do a few projects birds have no use, and you compete with those front university did not do a few projects, and the school enrollment quota is that a few. Congratulations, you have come to another world. Your vision and cognition have changed completely. Even if you don’t pay attention to some of your own expressions, it will be easy to feel the impressive technical attestation in it!

So, don’t learn those things that make you confused, just know about them, have a solid foundation, see question 3, this is your direction.

Then, for school students, from the probability, in-depth JavaScript than in-depth CSS entry probability is high, but there are also teams to recruit CSS, JS light people, such as our Literature Group, but there are not many enterprises. Of course, if I had to speak from the bottom of my heart, I would encourage you to follow your own inner world, don’t be influenced by external things, be yourself and bide your time. But for most people, they just want to make a living and give their parents a long face. There is nothing wrong with utilitarianism, and there is nothing wrong with developing for jobs and hot front-end. Steve Jobs’ motto “Follow your heart” is only suitable for those with capital and ability.

Question 5: ① Where is the value of front-end engineer? ② What is the meaning of front end?

One question before the address is: www.zhihu.com/question/19… A problem after the address is: www.zhihu.com/question/44… The problem is described as follows:

In a required course, the teacher introduced many of her research achievements, which felt so high-end. Finally, the teacher asked us to think about the meaning of learning computer? Is it to write a web page? I personally know how hard it is to write a good web page. But it seems that the problem solved is dispensable, that is, we can use a lot of Internet functions without the front end. What’s the point of the front end? It just optimizes the visuals and makes users happy (I admit this is an important part and wonder if there are any others)

Since the answers to the two questions are essentially similar, I agree.

My answer if as a worker’s point of view, the meaning of the front end is to be able to support the family.

As a profession itself, the meaning of the front end is actually, as you said, to make human-computer interaction more pleasant to users. As for any other lofty meaning, it doesn’t. In fact, the value of front-end engineer is to make users more happy when interacting with the machine, so that users like it more and more, and even spend money on it, creating value for the enterprise.

You say that if you want to change the world with front-end code, it’s hard, unless you build something like jQuery that changes the world a little bit.

So don’t overestimate the value and significance of the front-end position. There is an effect called the endowment effect, which states that “once an individual owns an item, he or she values it much more than he or she would have if he or she had not owned it.” As front end engineers, we tend to value the front end a little bit more than it really is.

When I first started working, there was a very strong feeling that I was proud of the front end, the pursuit of perfect code, and the development of PK JS to put at the bottom or above, the head of third-party promotion generated too many HTTP requests and so on. Now of course perspective has completely different, for example, we see the sina weibo, the front-end experience is actually doing very bad, also have a poor performance, weibo page hung at tencent video at the same time, the video will be caton, turn off the microblogging site immediately, but you see somebody else’s results, look at somebody else’s share price, You’ll see that the front end is not as valuable as we thought it would be to use throughout the product.

I suddenly remembered the very early time for D2 front-end technology conference, because pay treasure predecessor share a very interesting case, is very important to pay the page load time, the specific time I don’t remember, I said two numerical signal hint, probably is 1 second to 500 milliseconds, then to the user’s bounce rate remaining quantity of data, It turned out that there was no significant change. In other words, the load time that we are trying to optimize is actually of no value to the user.

Therefore, from the perspective of the enterprise, the front end is only an important part of the whole product process. To truly change the world, the upstream and downstream need to work together. Of course, the most important thing is the direction of the top leaders, and the decisions must be correct.

There can be some other things, by the way, the front-end engineer wages actually is and he brings to the enterprise value of the decision, a front workers, even if he technology in cattle, if he just fight alone, brings to the enterprise value is limited, and even make the products on the front end, this is a piece of the world feels like, may encounter obstacles promotion; But if he can get the rest of the front end to get better together, and now the upstream designers or the downstream developers get better and generate more value, then the pay goes up. Therefore, front-end managers often pay higher development) (even if they don’t participate in a line, because he needs to make a lot of the front of the people and get organized, efficient operation, it is also need a lot of energy cost and bear the huge pressure, there is a front-end architecture is personnel, responsible for the quality of class libraries, business supporting tools such as infrastructure, Ensure that the whole product line is of high quality, while saving labor and other costs, there will be a relatively high income.

As a professional, when talking about the value of front-end engineer, you should not only focus on technology or think about it. In fact, users who don’t know anything about it can actually think about what value they bring to the team and the company and prove it. Thinking out of the job itself, you may have a different perception and growth.

By the way, it’s up to your boss to decide whether your code will change the world. Even if your code is mediocre, your boss is awesome and your product is used all over the world, you’ve already changed the world. Eventually, you’ll realize that changing the world doesn’t seem to have anything to do with whether you’re technically good or not. Again, from your boss’s point of view, the front end is all that matters.

Question six, learn web front-end development, training or self-study is reliable?

The original question address is: www.zhihu.com/question/31…

The problem is described as follows:

First things first: Wanted to switch to web front-end development, but didn’t know where to start. Ask others some say training is more reliable, also have say self-study also it doesn’t matter. So I want to consult my senior brothers here, gather wisdom, but beg less detours. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * : this girl ordinary 2 colleges and universities graduate level 14, electronic information engineering specialty learning embedded development. After graduation, due to some “iron rice bowl”, “stable job”, “state-owned enterprise development” and other reasons, my family here to find a bank job, now work for a year. After working for a year, I finally found that this was not the life I wanted, so I resigned decisively. I learned C language in school. Ever also interested in web design to compare, taught himself a little, but at the time of Dreamweaver, Fireworks, a Flash of what, also didn’t go to study HTML, CSS, JavaScript, these. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * so here still want to ask, if I want to do these is to find a job, work while self-study or find a training institutions to learn more. The first time in zhihu questions, asking god to guide the maze. Thanks a lot.

My answer: From my personal point of view, it must be self-study, because I grew up completely by myself.

However, my growth is not representative and therefore not necessarily of reference value.

Although I went to the university of science and engineering, I am very interested in design, painting, humanities and other things, but I am confused and depressed. Since this is the case, I have long done something I like, such as…… Browsing through the fence and climbing over the wall to go fishing in the east Lake behind, or going to the library to borrow all the books related to painting (there are not many books in the old library), to copy and learn, color lead, oil painting stick, watercolor have fun themselves.

Sophomore had a computer, I taught myself Photoshop, summer vacation in hard practice PS technology, technology practice is very good, do graphic design, PPT design and so on; Next semester began to learn Flash, make some animation, of course, is also interested in, amuse yourself, such as the following killing matt style strong flash animation (click load).

Click to load the Flash animation

Later junior began to play associations, went to the school network research team, mustache brother Yan wang is also here, at that time in the web page to do cool flash, write a simple AS2.0 script, that year popular this. Later, there was no need, I began to write to help other friends cope with CSS and HTML work, I saw the code implemented by others all night, and then I can make the page out of it, it can be seen that the threshold of entry to write a page is too TM low.

However, these things are actually hobbies, amuse themselves, and many niuren students are not the same, their vision is not the same at the beginning, they ran to the top level of good companies, so, growth is more professional and on the right track. Someone like me, a casual loser, spent the summer working for teachers at school as an intern, and now I wish I could say something about myself at that time.

Wait for seniors, playing for three years, looked around students go abroad to go abroad, straight, straight, or offer to soft, and we can not find the reasons for the graduate school, BAT don’t bird me, my heart ah, just realized that, playing amateur feel good things, in the eyes of professional people, is tuo “chocolate ice cream. So, I would sell their Labour to entrepreneurial small workshops try very hard to learn and grow (eat sleep) in the company, the boss likes to redesign, at the right moment, enough to live, so every day must write page, thousand years to write the page 1, so, CSS and HTML, there is a very simple way to learn is to write, a lot of people write a taobao homepage, jingdong homepage seems to think I can, Wool, please complete the station to write again, write his hundreds of pages, and then compare their implementation and the other side of the implementation of what is not the same, the front end of this thing has a benefit, is all plaintext, especially CSS and HTML, compression can not compress, go to the space newline and so on. Encounter the place of doubt, all understand it, that growth rate, dilly-dally, than to go to the training class fast, listen to look, not as fast as their own practice.

Later graduation, everyone happily went to work, I put the small workshop job quit, naked resignation, and then go away to study in seclusion. It can be seen that I am still a person with ideas and personality. Even many people who grew up in a hothouse and feel good about themselves do not understand that it is good to study while working. Problem as mentioned above, five your self-knowledge, you hope you later to become what kind of a person, when I was hope oneself can be inside 3 years the front-end technical people, however, a look at yourself, can write page, JS is a slag, back-end language is a P, is extremely obvious weaknesses, to later height is high enough, the basis must play sturdiness. If, however, work and study, considering the small workshops before every day is 9 PM to 1 am, only half a day to rest every week, fart time work for you to learn the knowledge of the outside, you will find that you will hit the early technology, then become a common technical personnel, and the expectations of your future. So back down, I need to learn a back-end language, NEED to systematically learn JS, lay a solid foundation.

It took me 9 months to leave home alone and go to a province I had never been to. During the 9 months, I spent all the money earned by the small workshop before, and what I gained was that I could build a dynamic website with PHP + SQL, which was basically a complete stack, and consolidated the JS foundation again. The method of learning is to read, “PHP and mysql Programming”, “JavaScript Advanced Programming” and “JavaScript Language Essence”, repeatedly read, repeatedly understand and memorize, do not visit a page, in which all the examples are personally run through, after reading, arrange a project for myself. From 0 to 1 to build up my personal website, pure handwritten code, it can be regarded as a test of learning in isolation. As a result, it took me 3 months from design to development, because it included a complete account system, as well as many internal channels and external channels.

I’m only halfway through my self-study story, but it’s enough to answer this question.

In fact, the girl and I at the beginning of the experience is somewhat similar, due to the hobby of playing some web related things, and now hope to pick up and enter the industry. I transferred from my interest to my career, during which I spent 9 months in small workshop and 9 months in isolation, and a total of 18 months, i.e., one and a half years of intensive front-end knowledge accumulation. In addition, I also have a computer professional background. So, you this question, especially see “impossible”, the word “engaged”, I think you both work and study, and training, the end result will be a “problem”, want to become a professional not so simple, I think you need to cross the rubicon, burned her courage, the road ahead is a setback continuously, if do not have enough psychological expectations, It could end up being just lip service. What “less detour”, have this kind of idea is easy to detour, look for the target, directly rush forward without hesitation, even if the road is thorns is deep ditch, do not retreat, this time the absolute straight road, is the real shortcut. Therefore, whether self-study or training, the form is not important, what matters is how brave your heart is.

How do front-end engineers and UI designers choose?

The original question address is: www.zhihu.com/question/21…

The problem is described as follows:

I am a senior, is preparing the school to recruit ~ but I am learning computer, I particularly like design, UI design visual design plane design and so on, skilled PS, for friends to do design, also design this web page. Because most of the time have learned the front end, so the design of the software is skilled in PS. : of course, I also don’t hate programming, the front-end development need, I will be the basis of project also has done a lot of web site, but you want to do when the thought of the front-end development to learn the language more I will have a headache, but the thought of design no matter what to learn or what I don’t bother, I don’t know what to choose web page design and front-end development which one of these two career. I want to choose design but I am not a design major, I am not learning design is not the general company will not bird me. ? But the front end has too much to learn. And is the front-end the programmer? .

See question 6 for my answer. In my experience, you have what it takes to be a good front end in the traditional sense. Web design advise you do not do, do not put the interest impulse when talent, non-design professional to design in the field of attainments, unless individual genius, is basically impossible, design theory and design literacy these things are difficult to fill, and these determine the height of the future. When I saw the work of my first student in my major, I realized that I could not catch up with it in 20 years, so I gave up my plan to do design. However, being a designer on the side can give you a leg up on the front end, especially on the experiential side. Before I work is not aware of their own advantages in this regard, then went to tencent, I discovered that I’m fine itself character and the accumulation of those design and animation, is I and other front-end in contrast, the biggest advantage of this is I later more learning center to interaction experience the power of reason, can give full play to their own advantage, Make yourself more irreplaceable.

So, you can take a position in front end design, oh my God, I’m telling you, super scarce, code savvy, design sensitive, basically a computer background but interested in design, and you’re like that. Alas, the question was two years ago, I don’t know which piece of work you do now. If I really do a designer, I think it’s a pity. The real front end should be responsible for human-computer interaction, and interaction and experience closer, and this kind of position needs to take into account the code and design, is a cross position, and the traditional sense of programmer is not the same, usually do not play together, but closer to the designer, haha.

Question 8. How to interview front-end engineers?

The original question address is: www.zhihu.com/question/19…

The problem is described as follows:

What are the key points to examine? What is an effective way to judge its level?

My answer: I don’t usually interview, but when I do, I usually spend half an hour trying to find out as much as I can about the candidate.

I don’t like to prepare some uninformative questions to ask interviewees. Instead, I always try my best to let interviewees express their best points, which can be JS, CSS or HTML, SVG or Canvas. The ultimate purpose of an interview is not to be a test, but to make an accurate assessment of a candidate’s ability in the face of uncertainty. If you do a few fixed topics, those candidates may just research the topic, also have good skills in the technical stack is not your point, the recruitment quality will be greatly reduced.

So, my strategy is to bring out the best in you, and then let me see how good you are at your best, and then ask further questions based on some interesting information in the statement. Why is that? Are there other strategies? What were you thinking at the time? What was the final effect? And so on, you can look at the way of thinking about the problem, how deep the technology is.

Don’t share your strengths with others. Look for their strengths and see if they can add enough to the team.

In addition to technical skills, candidates are also looked at in terms of communication skills, as well as personality traits. For example, this person is very skillful in answering questions. Sorry, you will probably be shot off. The superiors prefer simple and pure partners, because it is good for the whole team, because there are too many oily people, the team is not easy to lead.

In short, outline the candidate from multiple dimensions and see if it’s the puzzle the team needs right now.

For interviewees, my advice is to try to be as true to yourself as possible, because you have no idea what the team is looking for. For example, if you are looking for a neuroknife, but you are trying to be serious, you will end up with a bad relationship.

What is your interest in the front end, front-end engineers?

The original question address is: www.zhihu.com/question/29…

The problem is described as follows:

QAQ freshman girl, majoring in information security, has just determined her future direction, embracing the big front end, and hopes to introduce herself as a former end engineer in a few years, but I may be a little bumpy when determining my front end direction. I hope I can get the experience and advice from the predecessors in Zhihu. When I decided the direction of the front end, IT was very bumpy. I thought a lot and gave up a lot. But I was curious why the predecessors in the front end industry chose the front end engineer.

My answer: to be honest, I chose front in this position, because I do not come, other things I gb jump pretty good actually, flexibility and body force has the potential of successful gb ace, but was more introverted personality, with a slight social phobia, needed a close partner for a dance, don’t feel that way. In fact, I am also very interested in design, but there is always a strong feeling that can not come out, empty of technology, but the design of things, cough, as toilet paper, I feel humiliated buttocks, even if I try to do it in the future, I guess I am just an ordinary design handyman. My major is biological information technology, biological this thing does not read a doctor, basically also is helpless painful work life, poor, I want to miss a doctor, must take an examination of one’s deceased father grind, but cannot find the reason that take an examination of one’s deceased father grind, so, biological this road can think of method curve to save a country only later. My computer programming when information is a computer, university started relatively late, I haven’t been to college before the Internet bar, the university with a computer keyboard are a letter, a letter at the then knock, how VB and junior school classmates than winning an award, although also learned some theoretical knowledge, but what is even program is a face of meng, don’t talk about the actual operation.

Later found that the front end seems to play, to understand ps, to write some code. Writing code is process-oriented, and results are what you see is what you get, so it’s easy to get excited. Then I chose to do the front end.

When you find yourself doing something very well when nothing else is going well, it will naturally become your interest, which in turn will keep you doing it, forming a virtuous cycle that eventually becomes your lifelong career.

Q10. What is the future of Web front-end development?

The original question address is: www.zhihu.com/question/20…

My answer: I don’t really care what the future holds for Web front-end development, as I did for the career I chose. So if you have a job opportunity in front of you, lenovo and Tencent ten years ago and lenovo and Tencent now, what would you choose?

Similarly, how would you choose between.net developers and web artists ten years ago and.net developers and front-end developers now?

In fact, the future is unpredictable. Before the emergence of the financial crisis, people did not realize that there would be a financial crisis.

Careers span 40 years, and the tech industry is moving so fast that Web front-end development is bound to decline within a few years of your career, and will probably beep in 10 years. Is that why you’re not in the business? What if the front end thrives for another 30 years because of its simplicity and versatility?

What do I mean by all this? If we can gamble our career on the so-called prospect, it is actually a very dangerous thing, just like the leaves with waves, it is difficult to control the direction of their progress, and there is a danger of capsize at any time. What I really care about is, what’s going on inside of you? What are your interests? What kind of person do you want to be? What is your ideal? What are your values?

As Jobs said, “Follow your heart!” Follow your heart!

In addition to the profession itself, we should always pay attention to improving our competitiveness in soft power, such as communication, expression, people, teamwork, project promotion and so on. Even if the industry is in recession in the future, we should not be afraid to go with the wind.

Of course, if you only answer the literal content of the question, I think front-end development can continue, if you have to add the premise of the Web, it is not easy to say, the browser this secondary shell may disappear when the next generation of large-scale devices appear, naturally there is no such thing as Web.

Why am I so sure about the prospect of front-end development? Because the simpler something is, the more pervasive it is, the more it will thrive and endure. In addition to the Web, front-end development can also appear in desktop software, all kinds of Internet of things, and even operating systems are front-end development to do, because it is simple enough. Simple things thrive, a philosophy that has been proven by eons of biological evolution.

HTML and CSS are great inventions, simple and useful; JavaScript is also great, don’t listen to programmers bleating about some of the shortcomings of JavaScript, for those of C, C++ programmers, naturally feel that JavaScript routines are strange, and will criticize the performance of things.

However, from the point of view of designers and ordinary developers, if they are not polluted by C and C++, they will feel that JavaScript is like a clever spirit, kind and free, free and unrestrained, and the routine is more in line with reality cognition, which is very suitable for human-computer interaction scenes. Of course, if you want to use JavaScript to implement traditional backend or desktop software, the current approach is certainly not enough, which is why ES6 came out, to make traditional programmers happy.

When we judge the general trend of a thing, it is a very good thing to apply ancient philosophical ideas, which have survived for thousands of years for certain reasons. If we only focus on the information on the surface of the moment to make a judgment, it is easy to lead to the wrong direction. It’s like walking into a misty forest. It’s easy to get lost and go in the wrong direction if you just follow the current trees and roads, but you’ll never go wrong if you follow the big Dipper in the sky.

If the question is meant to ask, “How’s the money for Web front-end development?” I’m just saying that in any industry, even if you are a cleaner, you need to be the best. “Money scene” is not to worry about.

This question seems to have been asked in 2014, but the outlook is moving, not in quotes, but really moving. The hottest job of 2016 is also the most competitive.

conclusion

Life is long, find the target, look for the direction, perseverance, eventually success. On the way to growth, the most avoid hesitant, overthinking, must burn Bridges, indomitable, otherwise do not enter this trip, find a sinecure job to do well.

Mutual encouragement and growth!

Thanks for reading!

This article is an original article, and it will often update knowledge points and correct some mistakes. Therefore, please keep the original source for reprinting to facilitate traceability, avoid the misleading of old wrong knowledge and have a better reading experience. This paper addresses: www.zhangxinxu.com/wordpress/?…