David Robinson found in Stack Overflow’s annual developer survey that programmers who use space indentation earn an average of 8.6% more annually than those who use TAB indentation, or two more years of experience. Of course, this is a purely statistical correlation, not an actual causation. He continues to insist on using space indentation for his salary. What about you?
Technology of dynamic
CSS annual survey report
Louis Lazaris collected questionnaires for 6 weeks and summarized the results of 1600 questionnaires, basically covering the changes in THE CSS community since this year, such as popular tools, methodology and coding skills. The amount of information is not small. For both veteran and novice alike, polishing your toolbox will be a worthwhile investment in the long run.
TypeScript 2.4 RC release
New TypeScript features include support for dynamic import expressions, safer callback checking, weak typing support, string enumerations, and more, which are not compatible with older versions. Those of you who are learning or using TypeScript should follow.
Version 6.0 of the V8 engine was released
The V8 engine in question is not Node.js 8, and when the new version of Node.js was released not long ago, many people got the two mixed up. This release adds SharedArrayBuffer support and brings native REST/Spread operator support. Timing: The latest version of V8 will be released in Chrome 60, and Node.js will follow.
The article tutorial
19 common JS shorthand tips
It’s easy to say that doing more with less code makes you a better programmer. How do you do that? Proficient in code shorthand skills is very useful, the author in this article sorted out 19 commonly used JS shorthand skills, of course, part of the shorthand conversion is not completely equivalent, pay attention to the original annotations, to change the Bug can not be good.
Overflow of content processed in those years
Reliable programmers will be very concerned about the robustness of their written procedures, play JS robustness is very well understood, in fact CSS is also some. Do you have any experience that the design drawing is perfect, but there may be various problems under the test of production environment data only according to that, among which the most typical is content overflow. This article describes many methods to deal with content overflow, and there are Easter eggs at the end of the article. There is a tool called ForceFeed that helps you do content overflow testing during development.
The code explains the extreme use of Console
From FreeCodeCamp, Console is the debug of choice for most programmers, but Console is both familiar and unfamiliar to most people. I have seen a number of new students write crappy debug code. After reading this article, You can learn things like how to Console output, time code, group output, and print tables.
Effective Node.js programmers have common development habits
From package management, to script management, to code style, to testing, and so on, Happy Developer can help you avoid a lot of trouble, less trouble, more efficiency. It’s Happy, isn’t it?
Lin Clark: Introduction to Memory management
ArrayBuffer and SharedArrayBufer are introduced in JS, and they can be easily understood by beginners. And how to handle special cases once these features are introduced.
The code framework
Awesome React Components
Have students ask me how to choose suitable for business use the React components or component library, the methodology of any choices are the same, find alternative first, and then add the necessary conditions for optional filtering, about the React components or component library, this article has collected a lot of alternative, the following necessary condition is related to the actual business.
How to decode হ?
Recently processing business data, found that part of the data are all encoded into similar হ content, front-end students should be familiar with this, because the HTML inside the > and < are similar, how to decode these things? This article is a ready-made wheel.
React Native Spinner toolkit
Loading Spinner is an interaction mode adopted by most applications, which can greatly reduce the user’s perceived waiting time. It is a plug-and-play component that transfers Spinkit to React Native, supporting more than 10 dynamic effects. Gives you more options than the built-in ActivityIndicator.
Vue specific TypeScript snippets
If you want to quickly incorporate TypeScript into your development habits, you’ll need to find a number of similar tool configurations. Here’s a snippet of VSCode that’s customized for Vue and Vuex, or better yet, to customize it for how you work.
Good question and answer
How does Vim implement infinite undo?
If Vim does nothing, the default undo action can only be performed in the currently open file. The unlimited undo capability allows you to undo changes made yesterday or even a long time ago with a few simple lines of configuration.
What are the common characteristics of high performers?
The most popular issues on Zhihu relate to everyone’s growth. Have you ever met someone with strong ability in your work, who is not only knowledgeable, but also admired for his soft power. He feels comfortable doing everything. What do these people have in common? What does it teach us?
How to gracefully kill stuck SSH sessions?
Ever hit the keyboard angrily when an SSH session gets stuck? Rudely close the terminal window? There are actually more elegant ways to kill stuck SSH sessions with simple commands.
One More Thing
The author of this article is Wang Shijun. For commercial reprint, please contact the author for authorization. For non-commercial reprint, please indicate the source. If you found this article helpful, please give it a thumbs up! If you have any questions about the content of this article, please leave a comment. Want to know what I’ll write next? Please subscribe to my nuggets column or Zhihu column: Front End Weekly: Keeping you Up to date on the Front End.
Happy Hacking