“Live up to the time, the creation of non-stop, this article is participating in 2021 year-end summary essay competition”


Guys, you’d never believe it, But Bengua just got out of the time machine! This train is from 2031, Chinese don’t cheat Chinese, here are the tickets:

Just see the 2021 nuggets community in the year-end summary of the essay activity, why don’t you drop in, look back at me ten years ago, and say a few words ~~

I & the nuggets

In 2021, Bengua’s gold rating went from Level 3 to Level 5 (1.8W + and pushing to Level 6), which is a milestone! After all, that’s one of the things that kept me going, so much so that 10 years later, I’m a Denver 10 writer! There are pictures for proof:

Functional programming

Oh! I started focusing on functional programming in ’21: Higher-order functions, function composition, delayed calculation, Monad encapsulation, in a declarative style coding, etc., that time I was just coming to functional programming at the foot of the mountain, down, kageyuki anchor, though not to, the heart is yearning, so much so that I can use in the next 10 years it thought gradually mature to manage code, to make the code more readable.

During the year, there were 23 articles on functional programming:

  • XDM, JS how to function programming? Look that’s enough! (a)
  • XDM, JS how to function programming? Look that’s enough! (2)
  • XDM, JS how to function programming? Look that’s enough! (3)
  • XDM, JS how to function programming? Look that’s enough! (4)
  • XDM, JS how to function programming? Look that’s enough! (5)
  • XDM, JS how to function programming? Look that’s enough! (6)
  • XDM, JS how to function programming? Look that’s enough! (7)
  • Thanks to the compose function, my code 💩 is becoming more beautiful
  • From “the if… else…” To [responsibility chain] and then to [composeAOP], incidentally [passable participation] solved ~
  • You love functions, and you’re a Haskell.
  • You love functions, you are pure Haskell
  • You love functions, and every sentence is pure Haskell
  • You love functions, and every sentence is pure Haskell.
  • Will point? 4 functional programming talents for JavaScript summoners
  • The for loop is not the goal, the map makes more sense! [FP Inquiry]
  • Listen to your words, such as listen to words, explain the explanation of “inert evaluation” ~
  • A monad is simply a monoid in a category of functors. Please speak English!!
  • Real: Using Cremation from snippets of code in Redux!
  • Callback=>Promise=>Observer
  • Three even play! Observable, a native implementation of asynchronous processing
  • Continues with asynchronous processing — RxJS Observable
  • Micro volume not loss, 4 minutes to optimize the Fetch function writing method ~

It’s not easy, is it?

Programmer growth

Another key word of the year — “Programmer growth” :

Bengua here is the nuggets we love! — Remember once mentioned in the brand research article: WHAT I pay most attention to in the technical community is “programmer growth”, which is also what I think is the biggest charm of the technical community!

This year, there are 10 articles on the growth of programmers:

  • 6 Top Ways to Think and Become a Better Programmer
  • A Programmer’s Guide to “Flipping the Pot”
  • A: wow! Is the Vue version code so interesting?
  • The Way to be a good programmer: What programming advice can these 97 “experts” give? (1)
  • The Way to be a good programmer: What programming advice can these 97 “experts” give? (2)
  • The Way to be a good programmer: What programming advice can these 97 “experts” give? (3)
  • The Way to be a good programmer: What programming advice can these 97 “experts” give? (4)
  • The Way to be a good programmer: What programming advice can these 97 “experts” give? (5)
  • Internet Hall of Fame — Innovators (2012-2019 Collection)
  • Keep a list of my 13 favorite youtubers

In fact, it is not just as programmers to grow, the person itself is always growing, some people grow fast, some people grow slowly, some people from time to time fast and slow, some people active long, some people passive long, some people grow first, some people after long…… So many, but it is still growing! Every day in the growth, in the renewal of the cell, not long, die in situ ~

Life feeds on entropy, and Bengua thinks that negative entropy here is defined by growth! It’s the only natural way to resist the end of life!

Resource collection

Ha ha! 2021 times the flow of the article password, list of articles, that is, resource collection, we will never be soft for good resources, mouth said is “this”, the hand has pressed the collection key!

During the year, the following articles were excavated about resource collection (12 articles in total) :

  • 10 super Vue3 combat guide to break new features!
  • Five methods to use async/await in loops
  • You don’t really think we only know how to cut pictures, do you? ! Here’s your cool Web design guide for 2021!
  • Recommend 10 very “wow” Web “resources” to front-end workers, collection is equivalent to learn ~ this YYDS, did not expect to have so explosive!
  • 1234 Do it again and continue to share 10 new “wow” Web resources, favorites equals learning ~
  • You can but you don’t have to? Share 20 JavaScript libraries and open your eyes 👀
  • “Wow” more than stop digging, then 10 web resources, collection is equal to learning ~
  • Grow up happy – JS Hacks 30+
  • It is our duty to recast the glory of resource collection. EDG NB!
  • VS Code settings.json 10 high order configurations!
  • 20 Tips for Using Chrome DevTools
  • Pull the collection force full, front end 50 quality Web online resources ~

The nuggets translation

Bengua often goes to Medium or ItNext to read an article, and if it feels good, I will read it, and then try to find something else that I have experienced or practiced. I love this way!

In this year, the translations are as follows (a total of 11) :

  • They rendered a million pages to understand how the web crashed
  • 2021 JavaScript Frameworks and other technology Trends 🥚
  • Take five minutes to rediscover the Vue project SRC directory
  • Vue virtual list, vertical enjoy silk slide
  • Vue3 virtual DOM
  • I’ll Never Understand JS closures
  • From [bytecode caching] to [HTTP caching], the interviewer: “Is it that fine?”
  • Good, 4 pictures to understand CI/CD basics ~
  • Encounter this several JS “god (Qi) odd (PA)” writing is also drunk……
  • Can the browser still be a Web server? SAO operation, learning waste ~
  • Three ways to generate UUID and speed comparison!

In fact, there are a lot of technical articles written in foreign languages. I think they are quite good. I prefer to read fresh articles on Medium platform, even more than 🐶 on Juejin

Algorithm to brush the topic

emm… Brush algorithm, is completely their own hard just on it, know that their algorithm is not good, usually contact and less, but this is the best way to improve programming thinking, so have to do. It doesn’t matter, “Just do it”, that’s the signal from 2031!

In this year, the algorithm extracted the following articles (a total of 16) :

  • The graph algorithm that will change the world — Dijkstra’s algorithm
  • Do the subject: can not “algorithm design and analysis”! 【 Interview and written Examination 】
  • Sliding Window
  • Spicy tiansai! The maximum value of sum & Maximum set of sliding Windows
  • Keep move! Sliding window median with sliding Rubik’s cube
  • Ok, BFS, again!
  • Okay, DFS, too!
  • From DFS to backtracking, let’s look at the N Queen problem
  • Backtracking to solve the telephone number combination problem
  • Double pointer to solve the rain water problem
  • The size heap solves the data stream median problem, nice diagram ~
  • AVL tree rotation and JS implementation, balance tree up ~
  • A judgement-balanced binary tree based on the day-arch algorithm
  • The “Red Black Tree” of the Sun Arch Algorithm
  • Card master: Play “shuffling algorithm”, Lady Luck is smiling (^_^)
  • When I understand the P/NP problem, I have the illusion that I have hit the ceiling of human cognition. Right? !

Can only say and line and brush, sometimes brush topic brush to doubt yourself, and high school period is to do mathematics and physics best a big topic the same feeling, but did not go up into Qing Hua, or brush this should have no what problem! 🐶

Algorithms, the big thing — did you enter this year’s Algorithm draw at Bengua? People who smoke say yes! Open lottery algorithm! Public lottery record! Please call me captain Dragonfly!

One item: ⑧ (‘◡’●) is the start of the lucky draw!

Dig article reviews

Apart from the above categories, there is not much left to be classified in 2021, some about work practices, some about other things:

  • Spend three minutes writing a reptile for a girl, be a model boyfriend!
  • Vue Wizard – Refactoring the “layout”
  • The difference between “class” and “prototype” design patterns — “copy” and “delegate”
  • Crazy operation CSS3 to achieve 60 FPS animation effect, CodeReview colleagues call: details!
  • Remember a Websocket battle: “I didn’t get a return receipt.”
  • .

From this point of view, I in the personal introduction of the introduction of the description is quite accurate ~ is really concerned about these points, The Chinese did not deceive the Chinese!

See a 2021 these past articles, MY own in the heart for their own point of praise 👍! Dig! Nothing wrong!!

Small sense: The reason why we seem to stand so high is not really our own climb, but with the help of the strength of others, our own efforts are insignificant in front of these “giant power”; However, this little “effort”, do it seems not so simple! Sometimes, when you gain something, you can’t help but feel happy, only to find out that it is nothing but what others have chewed before. Be a “preacher”, more humble than a “god”!

Just like Luo Xiang, he chose such a position: to be the “speaker” of the wisdom of ancient sages, and also to be the “echo collector” of the audience’s yearning for fairness and justice.

Take root in the land, to explore the depths of the land, have a chance to grow luxuriant trees ~

Be a selective, not blind technology sharerThis is a sign on the road in 2021!

I work &

In this section, I will start the “long-winded” mode. The relationship between me and my work is something I have been thinking about until 2031, and it seems that I have not figured it out. There are too many and complicated factors behind it:

Need to work

People need jobs? Since the first industrial revolution in 1760, “work” in the traditional sense has been born. The significance of the industrial Revolution was simply too great — “it created enormous productivity and changed the face of society beyond recognition.” So, not people need to work, is the evolution of human society to this point, society needs people to do the division of labor! Man is a social animal, unable to leave the group.

Then why don’t some people need to work? Who? One class, the capitalist class, by occupying the means of production and employing the labourers, divides to itself some of the profits of the labourers. For workers, it’s actually ok to be divided into some, is it 99.99%? (Are you polite?)

However, workers do not know how much they “deserve” it! Is a few laborer read annual report of enterprise income seriously every year? Even if you did, you don’t know how much you deserve, do you? I basically by monthly salary, annual salary to the asking price! That this monthly salary, annual salary, how much, and how to get out? The market price? Friends around? Oh oh! This “how much should be” is the result of the game between “capital” and “labor” in the market, which is also reasonable;

Reasonable? It is also unreasonable, because there is too much room for the game between “market price” and “paid labor”, and it is also a dynamic and repeated game process. Just as workers can get their hands dirty when they work, employers can deduct a little more when they pay. Just like labor can make uneven quality of work, capital can take some conceptual things to cheat, to finance; Just like labor is the interview back to deceive employers, capital can also draw a pie, PUA, wages, disorderly dismissal, so that people can not move;

So, it’s really hard. How much are you worth? It’s hard to say!

Do you really need a job? When I was climbing the mountain before, I saw a family on the mountain, with a wooden house and a big yard surrounded by wood. There were several big dogs and a group of chickens. But a thought, there is no signal here mobile phone, live for a long time certainly not; But why do you have to use your phone? No cell phone, okay? How can I live without a job? If all people, like families, were evenly scattered in different parts of the world, and there was no urbanization process to force people together, what they ate was entirely dependent on themselves, what they did was based on their interests, and there was no need for education, or for vocational education with a strong sense of purpose. The things we do in cities, they connect us in different ways, but they don’t have to be. It’s not necessary for a person to survive.

But, we just want more, faster, more exciting, more glorious…… These complex needs cannot be extinguished, otherwise people may become like plants.

Bengua believes this answer – life is so short, why do most people stay secular instead of pursuing what they really want?

Most people have no idea what they want. In our day and age, it doesn’t matter who you are, but you have to be one of a kind. It doesn’t matter what type, as long as you’re not “you.”

Mechanization of mass production in the domestication of workers, but also discipline consumers. You’ve got the shares, and tomorrow you’re a bourgeois! It’s not appropriate for you to wear that plaid shirt! You’re bourgeois already. Buy a hand-made plaid shirt! You shouldn’t be vaping. You should be smoking cigars!

This is the modern society. When you make money, you are the worker, the manager, the salesman, the operator. When you spend money, you are the Bourgeois, the middle class, the proletarian, the poor. Society encourages you to be any kind of person, any kind of person, society can mold you into any kind of person. From class to class, from majority to minority, even male and female. “It’s good to be a woman! Or “He’s good, I’m good.” Society provides all kinds of convenience for you to categorize, as long as you forget yourself, as a statistic, society provides full services for you, jump into the river has society to pay for the corpse!

So everyone’s life is essentially a quest for what society has to offer, with millions of replicas of their own individuality. Even personality has disappeared. You have to look like a red face, dress like a video, eat like a yelp, decorate like a red book.

In times like these you ask why not pursue what you love? The first thing you should ask is “What the hell are you?” “I am a member of society!”

So, really, how much more personality can there be? You don’t have to work to be who you really are? ! We don’t have to work, but we work every day!

Do yourself? Who are you? That ‘s a question ╮ (╯ del ╰) ╭

Work advice

Do bai, anyway it is to want to do, do not work here, work there, not for the society in your service, it is for the society in his service…… In short, things are to do, the current of The Times will not consider which wave waves and stop, even you are not even waves, that only do bai ~

It’s hard to talk about repetition, repetition, repetition. I love it. As of 2021, Bengua has been doing front-end development for 3 years. No plot details are being revealed, but the good news is that 2031 will be a much bigger part of doing what you want to do. Confidence should be sufficient, you think it can, so it can!

2031 can only give 2021 some work advice:

  1. Do things well, not people, there is no need to turn some people’s folly into their own dispute;
  2. Things should always be done, the overall situation should be taken into account, is no longer a stage to fire the boss at will;
  3. Do one thing at a time. Don’t underestimate the long term and overestimate the short term. Persistence is the most difficult, the most difficult is also a springboard with resilience;
  4. Do individual, the difference between people and plants is not to think more about the problem, conformity is not interesting; But thinking alone is unable to come up with anything, so it is necessary to be well-informed in order to have a non-occlusive thinking conclusion;
  5. As a programmer, it is not easy to do well in programming skills. It is not easy to do well in whatever identity you are and try your best to act as a normal person. Try not to go crazy;

Sorry, I got carsick when I was on the time machine. That’s all I can remember. Just say that first and absorb it slowly.

I & house

This section was posted by Yan Ge 😅

A total of more than 5K words, about reading 2010 KK God real estate excerpts and notes;

Well, that’s probably the kind of environment we’re going to accept;

I & NEXT

Every year since nineteen, I have written a simple essay in Classical Chinese about my feelings:

2019:2004

2020:2005

For 2021, this year:

Real 26, virtual 27, huang 28, MAO 29, live 30, gradually feather. Moving rabbit, static cold cicada, attack tiger, mo 豮 swine, to honghu, hang hang shang increase. Not immortal, avoid falling vulgar, a few Yang shou, obsessed, all delusion, chatter. Wake up less load, sleep a few years, tonight month, tomorrow up, unaware, tireless. The body is no longer, god also see, different world chuan, with the world swim, also from the heart. Daydream, Qiongyu do, explore the high stone, crystal snow, to the best, impartial.Copy the code

Shout, say 2031, it is there, very fast, but perhaps also very slow, the melon now, need to find the future to borrow some confidence! You can borrow anything these days, but now you just borrow a little confidence.

Also attached is the mid-year summary portal: confidence can change the future, ask who can do it | 2021 mid-year summary

(God, I am writing the end of the time, Tmall genie again in the glory years, artificial mental retardation is really accurate! To feel, record, salute!!