Kobayashi: Interview with Vue author's random thoughts

On December 3, 2021, in the WeChat group of the CSDN writing class, Liu Ren said: The interview with Vue author You Yuxi next week will be scheduled at 2 pm Beijing time on December 6 (10 pm on December 5, Western time). 2 hours, via video interview, who wants to participate? I signed up, and I said that I was preparing some slightly challenging questions. Although Vue is very popular now, it seems to complicate the front end, so I sorted out about 15 questions, large and small.

This is Liu Ren's first non-face-to-face formal interview. This is the first time we have tried this kind of online remote interview, writing, and collaboration. 19 people were in an online virtual room, and Liu Ren led everyone to interview You Yuxi. The entire interview process was very tight, and in the end it was overtime for 1 hour. Fortunately, You Yuxi was patient and persisted until the end. At the end of the interview, it was already 1:00 in the morning in Silicon Valley, and it was already 3:00 in the morning after discussing the division of labor for recording and finishing with everyone.

Facing You Yuxi's resume, Liu Ren began to ask the bottom line, trying to find some bright spots from his growth experience. We listen carefully and remember. In fact, I really found that some plots are worth learning, such as memorizing "New Concept English" under the supervision of my father in middle school, which played a key role in his later development.

Another example is that he had his own portfolio (Portfolio) very early, and even in the early stage of junior promotion, he had 30 portfolios of graffiti with the brushes that come with Windows. In order to switch from finance to art major during his undergraduate studies, he started to organize a new portfolio and got his first internship opportunity in Beijing. When he graduated, he was selected by Facebook and Google Creative Lab Five for copying Clear Todos App works with HTML 5 technology. Since he realized the significance of GitHub as a programmer's portfolio early on, he easily got a job at Google and the opportunity to obtain a green card in the United States.

The questions I prepared were gradually answered during Liu Ren's interview with You Yuxi, so when Liu Ren handed over the interview right to me, I skipped many questions and only picked two of them. The first problem: As the front end is getting heavier and heavier, services such as the Web that should be accessible even on computers 10 years ago will freeze when using computers that are 2 or 3 years behind. Because the computer is still the same computer, but the website is not the same website.

You Yuxi's answer was very sincere. He said that as an author, it is actually difficult to prevent users from abusing it. That's right, programmers will always make the best use of everything. In 1969, NASA sent people to the moon and returned back with only 4 KB of memory. Today's Chrome browser is too small even with 8 GB of memory. In 1981, Bill Gates said: No one needs more than 640 KB of memory. If you put it today, you will think it is a big joke.

The reason why web technology is popular is that it is simple enough. In the early days, there was no obvious distinction between front-end and back-end. Front-end engineers usually refer to art designers or web designers. Liu Ren and I have a mutual friend named dodo, who is also a web designer of DoNews. He was a typical web designer in the early days and has done web design for more than 20 years. As a result, he had to hire a dedicated front-end engineer.

My second question: Does the division of labor between front-end and back-end create a new kind of job? You Yuxi believes that it is a choice to put business logic on the front end or the back end. The form of emphasizing the back end is still applicable, but it has its limitations. Today's user expectations have been raised by us. For example, if you want to benchmark Twitter's user experience, you have to hire a front-end engineer.

There are occasional disputes between the front-end and the back-end, such as whether a certain function should be done by the front-end or the back-end. It seems that the business logic can be placed on the front-end or the back-end, especially when it does not involve database write operations. Down. For the back-end engineers, in the past, they had to do a lot of work, but now they are drinking coffee comfortably and pushing the responsibility to the front-end.

I wanted to ask: In addition to its own Blaze, the front-ends supported by Meteor also include Angular and React but no Vue. Why? In addition to the different concepts of front-end and framework, is there no room for cooperation? For sites that rely heavily on SEO, how compatible is server-side rendering across languages? At the end of the interview, I found that the answers to these questions were not really important.

Guess you like

Origin blog.csdn.net/linxinglu/article/details/123649968