As a programmer, it is common to see which programming language is the most interesting? Such topics, often towards the strength of the language itself to consider, the final answer is no doubt C++
However, in real development scenarios, C++ application scenarios are still few, and even computer science graduates prefer to use Python, which is very convenient to use.
Python is certainly underrated compared to C++ in terms of efficiency, but Python is simple, has a lot of useful libraries, and can do face recognition in three lines of code.
At present, node.js is a popular programming language. The advantage of Node.js is that its syntax is similar to javascript. Programmers who write Web front-end can quickly get used to Node.js and write back-end programs. Node.js is similar to Python in that there are many off-the-shelf libraries, NPM package management is very strong, and there is a hyperactive community.
Node.js isn’t great from the back end, with callback functions dragging the programmer into callback hell, dependency packages depending on each other, and once a single package is hacked, a lot of projects can go wrong, and even mining code can be found in dependency packages. Even the creators of Node.js tried to reinvent Node.js, launching Deno to replace Node.js
Although Deno is theoretically more advanced than Node.js, it is not compatible with Node.js. Even if Node.js has various problems, it is impossible to rewrite the Node.js project that is already running online with Deno. The end result is that node.js has various problems, but it still keeps rolling. The more advanced Deno never developed, and the pigs that flew by the tuyere would fly higher and higher.
Where is node.js twilight? We need to analyze the reasons for the popularity of Node.js. The syntax of Node.js is similar to JavaScript, so it becomes popular. If one day, a new Web front-end language appears and JavaScript becomes less popular, then Node.js will become less popular. It may not be hard to design a better new Web, but it will be hard to popularize it unless companies like Microsoft and Google push it. Microsoft designs TypeScript as a superset of JavaScript, so it quickly becomes popular, and TypeScript is gradually replacing the native Node.js script. The biggest problem with TypeScript, however, is that the syntax is very verbose and the programmers are lazy, which makes it uncomfortable to use. You can usually do just fine writing projects, but if you’re writing small programs with dozens of lines of code, stick to native Node.js
Good works need depth, popular works need simplicity; For “we media” people in an impetuous era, what we need is popularity first and depth second.