New Year’s Day, I set a Flag, this year to write a 100,000 +, now the goal is half completed.

Finally, there is a 100,000 +

My answer “How to measure a person’s JavaScript level?” is displayed on the background of Zhihu. “Has more than 100,000 views, with 115,172 as of May 20, 2019.

I’ve read more than 100,000, so why is it only half done? 10 JavaScript Concepts every node. js Programmer must Master 10 JavaScript Concepts every node. js Programmer must Master Also, I wrote this blog post two years ago: 10 JavaScript Difficulties. It’s not original, it’s not written this year, it’s certainly only half done.

It’s just a translation, but it’s basically a “rewrite” because I translate the blog freely, not literally, for readability. The writing routines of Chinese and English are completely different. English likes to use various attributive clauses, so literal translation can be very confusing to read. If you are interested, compare the original with my translation.

When browsing Zhihu, I came across this question: how to measure a person’s JavaScript level? “, remembered his 2 years ago blog, content just right, so readily forwarded once. I was satisfied with the translated blog post, so I remembered it, so I guessed it would be popular, and it turned out to be much more popular than I expected.

Thanks to zhihu’s recommendation algorithm

As Han Han wrote at the end of Triple Doors: I am gold, I want to shine. Good content will shine, it just takes time and opportunity. Among all content platforms, Zhihu’s recommendation algorithm is more friendly and can recommend content to many interested people, which is a good opportunity for everyone who insists on creating. According to the popular content communication analysis report provided by Zhihu, some likes of big V accelerated the spread of my answer. Thank you for your support.

As a content platform, recommendation algorithms are still very important. Many users have formed the habit of obtaining information through recommendations. For example, I check wechat many times every day and can find a lot of interesting content. However, some content platforms have weak or even no recommendation function, so I won’t name names here. After the creators publish their blogs, they will find that in addition to the first few days, the traffic will be very little, and the future traffic can only rely on search engines. This is a loss for readers, writers and platforms. The success of Toutiao, to put it simply, is the success of the recommendation algorithm.

My blog

In the past few years, I have been insisting on creating or translating blogs, and I write about one blog every week. Now, I have written nearly 170,000 words, and many have read more than 10,000. However, it is very difficult to break the 100,000 + mark for technical blogs, because there are only a few million developers in China. Technology is pretty boring compared to all the hot topics, and I rarely read it unless I’m really interested. Sometimes I am really interested in them, but I just collect them in Pocket, and then there is no more.

Why write when there’s no one to read it and sometimes you have to be sprayed by a keyboarder? I’ve asked other tech bloggers this question, too, because they find that their public accounts aren’t being read either, but they keep writing.

The answer to this question is simple: tech blogging is a great way to learn. When we write a technical blog, we need to be very familiar with a certain technical point, and sometimes we need to think about it by ourselves. In the process of writing, we always find some things that we are not clear about and need to know more about them. Yeah, but by the time you’ve written a blog post, you’re pretty familiar with it, and our body of knowledge has been built up from blog to blog.

If you think my blog is still a little interesting, might as well take a look at my blog, I am still relatively satisfied:

  • How should we rank requirements?
  • Don’t argue! The choice of technology is not that important
  • What happened to JavaScript in 2018?
  • This is how Fundebug backs up data
  • Rethink unit tests

Refute certain comments

As every creator should know, writing a blog or translating a blog is not an easy task. It usually takes several hours. For me, every blog post is done at the expense of a weekend break. However, for some keyboard warriors, a simple sentence can drive a person into silence. Writing a review of dozens of words is obviously much easier than writing a blog post of thousands of words.

I’ve written so many blogs and I’m so used to being hit so many times that I don’t really want to read the comments. When your hard work on your blog is ridiculed for no apparent reason, it naturally affects your mood. Of course I still read the comments, because most of them are kind and rewarding, and sometimes they actually help me fix some mistakes.

When my friend told me that someone with real name objected to my 100,000 +, although it was expected, it was also very disappointing.

I mean, he had a funny day, and he had a beautiful day.

He concluded with a statement I totally agree with: “Code is for problem solving, not for tricks, and the more elaborate the code, the more expensive it is to maintain. If there are a hundred ways to solve a problem, please use the simplest one.”

But what he said and what I answered were basically at odds with what he had against me. My answer is simply to introduce 10 JavaScript concepts, not to say that you need to use these features to write code. Who needs to write a function that executes immediately?

Closures, for example, you know what it is, you can understand the closure code when you see it, you know how to write it when you need it, you can answer it in your interview. Of course, it’s axiomatic that we don’t need to write closures to mess with ourselves.

For another example, JavaScrip asynchronous programming can be done in three ways: callback functions, promises, and Async/Await. I keep “advocating” Async/Await because it’s too easy. But does that mean we don’t need to understand callback functions and promises? Promise is the basis of Async/Await. Without it, what Async/Await would be? As for the callback function, I still use it when listening for events, right?

For example, if I write a blog about assembly language, and someone says, “What assembler are you using at this age? Java, of course. “Isn’t that funny? It is true that 99% of developers do not need to use assembly in their daily work, but most developers would do well to learn assembly. Why? As you learn assembly, you can work your way down to understand how a computer is made, and work your way up to understand how a computer is compiled. These are all necessary knowledge for a good engineer.

One more thing to note is that it’s not that the knowledge I’ve introduced isn’t useful, it’s just that you don’t need these strange features to write upper-level business code. But when you’re writing low-level code, like a Fundebug front-end bug-monitoring plugin or a screen-recording plugin, you’ll need immediate functions, closures, Prototype, and apply.

I wanted to refute it point by point. But anyway, he kept on saying that this feature could not be used, that feature could not be used, and there was nothing to refute. It’s true that these features are a bit old and unnecessary most of the time, but as someone said in the comments section, they are “best to know”, whether they are used or not is another matter. I’m going to introduce these features to you, and I’m not going to encourage you to use these features, so don’t get so excited.

eggs

My answer is the most important is the last 1, the knowledge point in front can be understood as foreshadowing. I also took some time to think clearly and then write clearly, as an interview question, as I said, can read the last 1, JS level is not too bad.

About Fundebug

Fundebug focuses on real-time BUG monitoring for JavaScript, wechat applets, wechat games, Alipay applets, React Native, Node.js and Java online applications. Since its launch on November 11, 2016, Fundebug has handled more than 1 billion error events in total, and paid customers include Google, 360, Kingsoft, Minming.com and many other brands. Welcome to try it for free!

Copyright statement

Reprint please indicate the author Fundebug and this article addresses: blog.fundebug.com/2019/05/20/…