Stack Overflow is mainly known as the largest question-answer online platform allowing programmers to collaborate and solve any kind of coding issues. But the Stack Overflow team also annually conducts a major survey called “Developer Survey”, involving tens of thousands of professional developers from all over the globe, to learn the latest programming trends. The 2021 edition of this survey has been published this month and I would like to review the most curious results.
Have you ever wanted to generate code using just plain English? It may seem crazy but the American company OpenAI is really close to making it possible. Backed by Microsoft, the OpenAI team has recently presented its new code generation tool named Codex. Designed as a programming model powering the GitHub Copilot service, it automatically translates a human language into working computer code.
This mode will disable the JIT function and allow using special security mechanisms (CET and ACG). But what about the browser speed without this performance-enhancing function? The SDSM development team assures that in practice users will hardly notice any performance deterioration. The SDSM is currently an experimental feature, but the developers want to make it “smarter”. It is planned that in the future the mode will automatically estimate risks and kick in only on suspicious websites. Check out this post to know more about this mode.
The development team led by Evan You introduced several considerable performance enhancements to the reactivity system of the framework. From now on, Vue developers can build native custom elements with the help of Vue component APIs thanks to a new defineCustomElement method. A couple of helpful features for SFC received stable status in v3.2. To get more information about this release, visit the Vue.js blog.
Creating custom elements is an essential capability of Web components that enables you to generate new HTML elements. But if you are working on a vanilla custom element, you can face difficulties when dealing with properties and attributes. The problem lies in the custom element upgrade process. This kind of issue is usually solved automatically when using frameworks, but if you prefer not to, find a workaround in this article.
Implementing validation for emails or user inputs is a common web development task, implying the need to match strings. It can be a challenging task, but fortunately, there are many pattern-matching tools and approaches that help to do it right. The question is which one to choose. Using regular expressions is probably the most reliable option for this purpose. These are special patterns intended for matching character combinations in strings. In this article, you will learn how to create regular expressions and become familiar with some methods utilized with them.