今日推荐英文原文：《Front-end frameworks: What is important right now?》
推荐理由：一个在 Python 编程中用得上的小技巧合集。这些编程技巧每一个都没有覆盖到太多的地方，而是专注在一些在编程中经常出现的细节——例如函数返回和循环等，可以作为参考来优化一下自己的代码。
今日推荐英文原文：《Front-end frameworks: What is important right now?》作者：Siw Grinaker
Front-end frameworks: What is important right now?Front-end frameworks determine the logic, structure, design, behaviour, and animation of every element you see on-screen when you interact with websites, web applications, and mobile apps.
For instance, buying something online today is a different experience than 10–15 years ago. In the past you would be sent to different confirmation pages during the process, while today the emphasis is more on a better user experience. Now smooth transitions characterise the various stages of the buying process and you generally get a more app-like feeling, with more actions happening on the same page.
An important piece of your digital experience like a front-end framework should not be left to the mercy of mere chance. That’s why we have compiled a short and essential summary of what factors are the most important right now and-accordingly-in the future.
Selecting the right front-end frameworkIf you have browsed through several front-end frameworks already, you might be confused about exactly what framework you should choose, or what features you should prioritise in the first place.
As a remedy, here is a quick reference to what is most important when contemplating on selecting a framework that is right for you, your team, and your organisation:
Learning curveYour preferred front-end framework should not have a very steep learning curve, as this can not only put you off-it can demoralise any co-workers in your organisation that also must work with it. Be sure to pick something familiar to you and your colleagues, or something developer-friendly-i.e. a programming language that is loved by developers.
Built-in toolboxA great way to kickstart your developers in a new front-end framework is the presence of a built-in toolbox. A toolbox may include a build server, web server, asset caching, etc., enabling your developers to get started fast.
DocumentationImagine being tasked with baking a specific type of an advanced cake, but not being provided with a recipe. Or being given the task to maintain a hydroelectric dam, but without getting your hands on the operating manual.
The same principle goes for a front-end framework. Having access to good documentation is important to give your developers an overview, a reference guide, a troubleshooter guide, or information on any technical detail they may ponder.
TutorialsJust like having access to comprehensive documentation, the availability of tutorials is a must for getting your developers up to speed. Even though your developers are knowledgeable, they might still get tips to smart operations and methods within the front-end framework through a well-executed tutorial.
CommunityFinally, the front-end framework should be well embraced by an engaged community who can help out should you have any questions.
Most popular front-end frameworksIn addition to consider the factors above, it might be useful to see what front-end frameworks are popular with the developer crowd. According to Google Trends, React and Angular are the most popular frameworks when it comes to interest on the search engine the last years.
However, and perhaps surprisingly, jQuery still holds the torch as the most used (although not most loved) web framework out there. Vue.js has increased its popularity, but most importantly 2018 was the first year when React jumped ahead of Angular in the framework popularity contest. React has been ahead as more loved for a few years already.
When considering a full-stack web framework, Express currently has a very good traction. It is built on top of NodeJs, which means it is robust but lightweight. Furthermore, Express has built-in features like routing, caching, redirect, and more.
With TypeScript it is easier to refactor without errors and easier to test-especially for larger projects.