This article has participated in the SegmentFault "2021 Summary" essay , and you are welcome to join as well.
Preface
Every December is always like a farewell. From the beginning to the end in 2021, it’s time to say goodbye to you. It’s rare to take a leave on Friday and move home after a busy year. Write this article under the sunset to recall and summarize this Looking back on the way back this year, at least some colleagues gave me encouragement and comfort. At least some things were never inexplicably sad and tearful, and at least Li was still cuddling with each other.
Thinking or not
I reviewed my performance this year and published 20 articles, each of which was written very carefully. Among them, I wrote an article about the realization principle of front-end black production technology. I finally passed the review and published it, and then spent more time. Fackboook
the unit test framework of 061bf1fbab251b from beginning to end for two months, and wrote an article about how to implement a unit test framework of Jest
Fackboook
it was renamed Meta
. Later, Huawei Meng Wanzhou was released successfully. After returning to China, I wrote an article about the development and sharing of OpenHarmony
In the open source community
This year’s contribution to the open source community is not a lot, because most of it needs to be completed on weekends or in spare time. After observing the submission records, it is basically disconnected in the third and fourth quarters. The summary is that the more you get behind, the more powerless you are. Maybe VSCode
getting busier and busier at work, unlike the previous few years I’ve been obsessed with researching various technical frameworks and contributing some code Omi
Only at the beginning of the year Hbuilder
wrote some plug-ins for the domestic 061bf1fbab258e. At the end of the year, I participated in the domestic code cloud OpenHarmony
competition, transplanted a table rendering engine, received the 7k
bonus and the development board can barely talk about it.
Github
harvest2k
attention and13k
stars https://github.com/wscatsSegmentfault
community received2k
likes and12k
following https://segmentfault.com/u/wscatsknows that the community has gained
5k
attention- The company's
KM
community articles gained16k
pageviews VSCode
plugin downloads900k
https://marketplace.visualstudio.com/publishers/wscatsHbuilder
plugin downloads80k
https://ext.dcloud.net.cn/publisher?id=18301- Team technology sharing
2
times, outside company technology sharing1
times - Read the source code of
Styletron
,React Dnd
andJest
- I read two books, a front-end technical book, and a scientific book
Gitee
first and second prizes of open source at 061bf1fbab26fd
at work
In fact, I did not accumulate too much knowledge this year, and I forgot a lot of things. The most used React
, less
and Typescript
. To be honest, I even forgot how the Vue
and Angular
frameworks are used. Now, if I were to write a Vue
related to 061bf1fbab2751, I might need to go to the official website to spend a long time reviewing it, and Vue3
did not study well. I forgot how to use routing and state management, what life cycles are there, what hooks are there, and how Implement a loader
and plugin
, how to write a VSCode
and Chrome
plug-in, how to write Promise
and anti-shake throttling, how to implement the design pattern, how to calculate the space and time complexity, if someone asks me these questions, I may really not be able to go into details Answered it.
Muscle memory is retained in the company’s product debugging link, how to switch the environment, how to locate Bug
, how to solve the user’s feedback problem, the memory also feels a lot worse, I don’t know if I stay up late and get more rest, I don’t have enough rest, look back My own work submission records, except for the holidays, which are online most of the time, the submission density and code volume are far greater than those of the open source community.
When developing functions this year, you should always think about how to write a maintainable component that is convenient for others and your own. When the maintenance module repairs Bug
, you should always think about why the person in front writes this way, and what difficulties he may encounter, that The period may have the limitations of that period, there may be online pressure at that time, or it may not be so long-term thinking at that time, or it may not have been planned well at that time.
What I can do now is to be responsible for myself or others in the future. After a few years, I or others will look back at the code you wrote to reduce his doubts. No matter how good the code is, it is far worse than a comment. Be open and cheerful, at least let him understand why I want to write this way, even sometimes I think that writing comments is a kind of self-confidence, when others Code Review
your code will be clearer and more able to see your attitude, if it does If it is relatively stable code, I will leave as many comments as possible during maintenance. If it is relatively unstable code, I will think about refactoring part or the whole, and leave unit tests.
So in this year I wrote more comments and single tests than ever before. Don’t do something small and don’t do something small. Some codes have undergone changes in various periods, but the comments may still be the original ones. It looks like, because I find that deleting codes is very common, but deleting comments is really rare, so it has more meaning, and it is more efficient than flipping through the modified history. If the final code and single test are deleted Now, this is its ultimate destination and mission. I hope that the single test and annotations I will write next year will be better. I don’t want to be satisfactory but I have a clear conscience.
Awesome colleague
I flipped through the photo album and saw this photo that represents a lot of luck. I have to say that my character broke out for the first time in my life. At the beginning of the year I participated in the department’s annual meeting and I got a mobile phone. It was only a dozen meters from the seat to the podium. Zhang Ziyi took it. It took 17 years to get on the stage and get the queen, and it took me a year and all my luck to get a mobile phone haha, but I still like to stand on the podium because it takes a lot of strength and luck, of course I hope I can draw prizes this year.
by my side took me to a pit, and also allowed me to receive the coveted department bonus on stage. They taught me how to implement the 161bf1fbab282a large-scale front-end project function call chain tracking and analysis commercial realization of the program. Teach me how to squeeze wool in various positions, how to fancy Versailles, teach me to overcome difficult problems and optimize performance, teach me try catch
use well, double the performance ...
Immediately after the upgrading and adjustment of the department structure, I moved to a new office. Although, I also recognized a group of very good colleagues, which made me rich in weekly programs. I gave these lovely colleagues a name:
xunxun
,json
,ziming
and Durant and other thighs to play basketball every Monday- Go swimming with Rocket brother every Wednesday, and from time to time you can also pull on the little seal and Mr. Liu
- Hao brother arranged
KTV
and playing badminton so that I can have the opportunity to discuss with beautiful girls Great Sage,
JC
, Fanfan, Guochun’s luxury power leveling team, let me understand the king,LOL
and strange hunting are so easysolin
's basketball game made me excited, I really want to lick the championship ring Zhu Fangyu gave him- Lotus God’s
Typescript
made me worship, andCR
human flesh scans have benefited me a lot. - Lao Bao brought running and aerobics to keep me in good habit of fitness
Precisely because there is an excellent department and a group of excellent colleagues, the seeds buried in the spring will gradually glow in the winter and summer. Next year we will all cheer up and continue to face the new challenges in the next stage!
Journey and life
This year I also went to many places and traveled to places not far from my work place. Because of the epidemic and work, I had to be on standby at any time to take care of my work. I was afraid that 14
quarantined for 1 day and there would be no work places. Haha, I also unlocked a lot of new skills in life. The department organized to go skiing in Huadu Sunac. The first time I skied, from 66
meters high, the slope 21
degrees, the tortoise has been speeding down. Of course, it is inevitable that I have fallen countless times, but it is very Exciting, I have time to play in the future.
Went to play baseball for the first time. The first experience was very good, but it was a little tired, but the rules are too complicated for a simple-minded person like me. Contact sports actually have an anti-human design like touch and kill. It’s a bit of a hassle. It’s also very difficult to hit a fixed ball with a stick on the court. I'm going to hit high and far, so I set a requirement for myself, and I must achieve a home run in my life.
I took a boat trip to Zhuhai. I saw the legendary Hong Kong-Zhuhai-Macao Bridge on a typhoon day. I vomited all the way from seasickness. I saw whales, manatees and dolphins in Changlong. I took the terrible parrot roller coaster and went shopping on Gongbei Lovers Road. Eat barbecue and drew some oil paintings iPad
I took the high-speed train to Changsha to attend the wedding of my old colleague. I drank tea to make me happy, ate stinky tofu, skewers, crayfish and chili fried meat, and walked through Xiangjiang River, Orange Island, Yuelu Mountain and Huangxing Square.
Participating in the company’s team building and flying to Hainan, staying in the Internet celebrity hotel Atlantis, let me experience a wave of tall five-star hotels, went to the water world for a good day, and took a closer look at the ocean In the world, I have played various rotating loudspeakers of Poseidon’s Leap.
I went to Xinhui and Shaoguan by car by car, played paramotors, walked over the glass bridge, and soaked in the hot springs. But the most memorable thing was the first traffic accident. Because I was a novice and was unfamiliar with the road conditions, I was on a double cross road. I didn't pay attention when I turned the corner and scratched someone else's car. I learned to call the traffic police and report to the insurance to deal with it calmly. Fortunately, no one was injured, which is a lesson for myself.
At last
Many times when you experience some growth, you will slowly find that learning to make yourself happy, not embarrassing yourself, understand that it is really important to reconcile yourself in life, career and relationship. I still feel that I was in Shaving my head before entering the operating room is the most handsome and brave, but I feel that I am happy and fortunate now. If I learn to reconcile with myself, I will really Switch
lot of detours. My life is still very long. I still have a lot of 061bf1fbab2a5b games. , I want to play computer and mobile games, there are still many beautiful places I want to go, and there are many interesting people waiting for me to meet.
Finally, give me some goals for next year, read more books, read more dramas, eat less junk food, sleep more, spend more time with my family, stay healthy and keep studying until my life stops breathing. Stick to your original aspiration, work hard and live a happy life, even if you are experienced in the world, you will continue to be simple. I hope that next year more like-minded people will join our Tencent AlloyTeam
team to explore and travel together!
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。