He graduated from secondary school, it is how to counter-attack for the 360 senior programmer?

640?wx_fmt=gif

640?wx_fmt=jpeg

In 2012, he was 17 years old, graduated from secondary school.

By 2015, he was 20 years old, joined the well-known Internet companies 360, 360 become an odd dance of the maximum front-end team. The current senior front-end engineer 360 Navigation Division.

In 2019, he was 24 years old, the publication's first technical books "in layman's language Vue.js".

Currently responsible for the design and optimization of 360 Navigation Home page and two innovative projects such as one hundred million PV sites, promote Vue.js become the core technology stack used widely within the department, independent research and related development tools and technology solutions, and make it a successful landing.

From secondary school layman, to 360 front-end engineers and technical books, he completed a huge leap of his career. He is learning how independent, fast-growing? Turing this period of dialogue interview Liu Bowen, work together to understand the front end of his road.



640?wx_fmt=png

8000 dollars to be able to live either in Beijing?


"Although very hard, but I think more luck.

17 years old I graduated from secondary school, he is learning the computer. But then the college is to tell me what is a computer, a computer can have a career to work.

Just graduated, I went to a company in Shenyang to work, not JS, CSS is only some knowledge. Interview, they may not know my level, I feel I can work, let me go. Results found entry, what I would not, ah, let me go directly embarrassed. Gave me two choices, one is then dried, as an apprentice, an apprentice would be no wage; and the other is not in this dry. I thought they had really pretty dish, then go with it.

Students say I'm stupid, do not give money back to people to work. Now looking back, it is my good luck. Without this opportunity as an apprentice, I have no way to enter this industry.

In 2013, I was 18 years old, would like to own to Beijing. At that time the family had little to worry about. They are not supported, but still gave me 5,000 dollars, so I think the money over to his back, can not starve there.

But they would never have thought I would use this 5,000 dollars, plus save himself, a total of 8000 dollars, has been insisting to the present.

At that time I reckon this 8000 dollars, to rent a house in Beijing, a charge to pay three month's rent by 1500 count, a total of 6000 needs. I carry packages to Beijing, and not get a job yet. Who lived a small hotel, to spend 200 dollars a day. That I want to find a job within 10 days and rent a house.

It was also a good life, really find a very small company, so I went to work. Because I know my level, quite happy to find a job, the first can feed themselves on the line. And the best thing is for residential company, employees can spend 200 dollars a month to live in dormitories inside. This directly addresses the question of my existence, it is the first step in my stride in Beijing.

640?wx_fmt=jpeg

After working for some time, I will write a page, cut plan, but so busy no time to study. Certainly not go on like this, I changed a relatively easy company, in order to have time to learn JS. Later learned a certain stage, I encounter a problem, because the thing science can not spend at work.

I also changed a company, the company is only one language is JS, the server is written using Node.js, more in line with my needs. I can take to practice and improve the technology, but the task is arduous work, that was my fastest growing stage.

Still later, the company went to 360 now. 360 I feel like a school, the overall working atmosphere is more relaxed and free, the task will not be put down to the little people do not have time, we have plenty of time to learn things themselves. And like a shadow, into silver, Lisong Feng Qu Qu teachers and such large cattle often in-house lecture, what do not understand can go to for advice.



640?wx_fmt=png

Vue.js 才没有看起来那么简单!



初识Vue.js时,它还未被众人认可。想不到5年后,为它写了一本书。

我接触 Vue.js 比较早,大概是2014年。因为上一份工作接手了一个同事的项目,就是用 Vue.js 写的。当时它是零点几的版本,还没有正式的一点零版本。我简单了解了一下,发现它和 Angular 1 很像,挺轻,挺优雅的。需求都能满足,学习成本还不高。

当时用 Vue.js 的人比较少,大家都没怎么听说过。它不火到什么程度呢?我们组新来了一个人,跟我一起写项目,我说项目是用 Vue.js 写的,就给他看了一下代码,讲了一下项目。然后,第二天他就离职了。

有半年的时间吧,我都在想是不是因为我们组的这个项目,用 Vue.js 他觉得太 low 了,所以不想干了?直到后来 Vue.js 被大家广泛认可,我才打消了这个想法。

我刚入职360的时候,我们组的项目都运行了很长时间,很稳定。一次偶然的机会,我们打算新开发一个后台管理系统,大家开会讨论技术选型。就业务来讲,我认为使用框架和对应的组件库会极大降低开发成本,就强烈推荐使用 Vue.js 技术栈,因为考虑到学习成本比较低,而且我对 Vue.js 比较熟。

现在大家已经习惯了使用框架开发,但在当时,我的提议遭到了非常强烈的反对。大家不停地提出各种问题,我也不停地给出解决方案,会议室现场变成了辩论会。

最终,我的 leader 给了我一个机会,如果想使用 Vue.js,就要在短时间解决两个最重要的问题,登录和部署流程。因为公司的统一登陆中心是结合后端来实现的,纯单页静态项目就意味着之前的登陆完全不能用了。部署流程也需要全新的解决方案。

当时我还有其他任务,所以就只能利用下班和周末的时间去做,好在最终问题解决了。这就是我们组正式使用 Vue.js 技术栈的时间点,也算是在后台项目中的一次试水。后来,我们组开发一个新产品,是面向C端的项目。在技术选型时,我又一次强烈推荐 Vue.js。因为上一个项目,有一些同学已经熟悉了 Vue.js 的开发模式,这次我也解决了一些遇到的问题(由于产品是图文内容类,存在 SEO 问题,等等)。就是这个项目真正推动 Vue.js 成为了我们的核心技术栈。

对 Vue.js 越来越熟悉,我在博客上陆续发布了一些梳理它内部原理的文章,作为总结和记录。2018年,王军花老师看到了我的博客,找到了我,问我有没有兴趣写本书。当时我感觉很突然,这东西我写不了啊。心里边是很想写的,又担心写不好,内心很挣扎。一天后,我和军花老师说可以试一下。

可能跟性格有关系,我从来都不是等把一切都准备好了,再去做一件事。一般都是机会来了,先干着再说。中间有问题再去解决问题。

当时我给自己定了的目标是6月份交稿。我列了一个大纲,然后倒推,一个月为一个节点。写作过程中,每个节点的进度可能比预期的快或慢,但总体在可控的范围内。

写作时间就是午休和下了班之后,一天差不多要写两三个小时。其实后期也会觉得枯燥,没有灵感。开始怀疑到底值不值得,这件事真的这么重要吗?我是不是用这些时间做其他事更划算?但没有真正想过放弃,就这样坚持下来了。

640?wx_fmt=jpeg

在写作过程中,我对一些 API 原理的细节理解得更深入了。

举个例子,我发现 Vue.js 对函数报错这方面做了很严谨的处理。当我们使用 Vue.js 开发项目时,编写的所有代码都是 Vue.js 调用并执行的,所以它在执行用户的代码时,做了错误的捕获处理。

还有就是计算属性。一个函数,可以返回计算后的结果。它要实现一个很重要的功能,就是当计算属性所依赖的某个状态发生变化时,计算属性的返回结果也需要做相应的变化,这个我之前确实没想过 Vue.js 是怎么做到的。


640?wx_fmt=png

工程师的赛道上决定输赢的,只有两个字叫「坚持」


「我自己特别在意的事,多苦多累都要把它干完。

一直以来,驱动我做事情的都是「我想」,而不是外界的期望。

这种性格有优点,也有缺点。比如说上学的时候,我学习不好,倒不是因为笨,而是因为我当时觉得,学习的结果就是分高分低一点,而这个分数什么用都没有。优点就是我自己特别在意的事,多苦多累都要把它干完。包括来北京弄这个计算机。

我觉得我的职业生涯,更像是一条没有终点的赛道。而且这条赛道是不公平的,大家不是在同一条起跑线上开枪往前跑。当我刚开始跑的时候,可能别人已经跑了五年了。别人跑了好几万米了,我才刚开始第一米。

好多人想问我怎么才能跑得更快,把这场比赛跑赢。其实没有任何方法和经验可以让谁跑得更快。即使在短期内快一些,但在这条没有终点的赛道上,没有任何意义。大部分人跑到中途就主动放弃了,这就是为什么大牛那么少。唯一能决定这场比赛输赢的,只有两个字叫坚持。在这条赛道上跑赢的,不是那些跑得快的人,而是为数不多坚持跑的人。他们能跑赢,只是因为他们还在跑。

640?wx_fmt=jpeg

读代码其实是一种能力,可以锻炼。你一开始可能读不懂比较复杂的源码,可以读像 Underscore 那种简单一点的工具函数,重要的是训练你的大脑。经常阅读代码的人,理解力会逐渐上升。如果你不经常看代码,一段就研究老半天。尤其是框架,不是一段代码,是一坨,你直接就蒙了。


640?wx_fmt=png

 全栈工程师养成计划


对于习惯计划与记录的人,时间的脉络变得清晰和可控。

我每年都会给自己定目标,应该在哪个技术方向上深入一些,然后把相关的经典的书买下来,看一看。平时也会读一些所谓没有用的书来调节一下,比如哲学类和心理学的书。

几年前,我发现一个人很难把所有东西都学会。如果漫无目的地去学,很多东西看完之后就忘了。我会挑比较感兴趣的领域去研究,这个领域中的所有问题都看一下,但是对于其他领域的比较深入的知识,可能就先放一放,以后再去研究。

如果自己有目标的话,哪些东西是没看的,哪些东西是应该看的,其实心里都有数。

平时做事我有一个小技巧,是使用番茄工作法。不是用作秒表,到点了就停。对我来说,它是统计的工具。比如说以一周,一个月为周期,记录我每天有效的专注时间是多长。据我统计,我每天专注的时间很短,也就两三个小时,差不多四五个番茄钟。

一旦得到了这个信息,我就可以规划,每天把专注的时间用于哪些重要的事。不重要的,或者一些不太需要脑力的工作,都可以往后放。

除了这种大目标,一年中我还会定几次小目标。比如说一个月或两个月,坚持做一件事。每天我都会为它分配一部分专注的时间,持续下去,直到把这件事做完。

可能是我的性格原因,没有办法同时做很多事。我更适合一次只做一件事。

640?wx_fmt=jpeg

不管是写本书,还是平时自己学习,我觉得做一件大事要比无数小事要好。前几年,我就是学得很杂,看什么火学什么,没事就看论坛的各种文章。过了一年,都不知道自己看了啥,完全记不住。就像一个漏斗,我细碎的时间全部漏下去,什么都留不住。我应该把我的时块变大,才能卡在这。

未来我想成为一名真正的工程师,而不只是前端工程师,打算涉猎计算机其他领域。现在前端一些颠覆式的工具和创新,比如 Webpack,Babel,都不是一个纯粹的前端工程师能创造的。好多超大型的项目,都需要前端后端综合的解决方案。如果只做前端,只能写个 JS 的工具函数,仅此而已,解决不了真正的复杂场景下的问题。

Of life, I prefer to travel, go out to play twice every year plan, the future will still go out to play a game. I like to go to places he has never been, take a look at, to accept something new. If there is fate, then, to find a girlfriend.

The world is not by chance, if a person be sure to get what, and eventually got, it is not by chance, but his own merit, he wishes to lead him there. - Hermann Hesse




640?wx_fmt=jpeg

"Layman Vue.js"

Author: Liu Bowen 

Scan code view details

640?wx_fmt=png

This book analyzes Vue.js from source level, from 360 odd dance group and Moon Shadow "JavaScript Advanced Programming" Lisong Feng translator preface recommendation.

The author first introduces the Vue.js; then gave a detailed account of its internal core technology "change detection", here will lead you to implement a simple "change detection" system from 0-1; Detailed information virtual DOM technology, which including virtual DOM principles and patching algorithm; followed by a detailed discussion of the template compiler technology, including the realization of the principle template parser, optimizer principle and the principles of the code generator; the final details of its overall architecture and provide us use of internal principles of various API, but also introduces the life cycle, error handling, and the principle of instruction template filters and other functions.

Scan code view details

640?wx_fmt=png

640?wx_fmt=gif

Code book store is a store CSDN is dedicating to our customers, provide a lot of technical books here, in addition to books we also provide lifestyle-related products, such as headsets, keyboards, etc., or you if there is a demand can also contact the code book store customer service or leave a message you need the product number in public, we try to meet the needs of everyone Oh.

As the code book store operations staff, invite you into our " CSDN codebook welfare group ", the group will from time to time give you books to books, coupons , etc., there are books recommended or logistics information is also available in the counseling group ~ at present the group is full of 100 people, and needs to sweep under the group, please add micro letter Fanger Wei code, pull you into the group oh ~

640?wx_fmt=png



640?wx_fmt=gif

Guess you like

Origin blog.csdn.net/csdnsevenn/article/details/94679075