博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
2019年JavaScript状态调查中的新增功能
阅读量:2519 次
发布时间:2019-05-11

本文共 4388 字,大约阅读时间需要 14 分钟。

We just opened the . if you haven't done so already!

我们刚刚打开了 。 如果还没有, !

It's now the fourth time we're doing this survey, and each time we take a deep look at our big YAML file containing all our questions to see what stays and what goes. So in case you're curious, here's a quick overview of everything new in this year's survey.

这是我们第四次进行此调查,并且每次我们深入查看包含所有问题的YAML大文件时,都会看到仍然存在的问题。 因此,如果您感到好奇,请快速浏览一下本年度调查中的所有新内容。

语言与模式 (Language & Patterns)

The biggest structural change is that we now have a new "Language" section that asks about JavaScript as a language itself. Do you use destructuring? What about arrow functions? Have you looked at Maps and Sets yet? And are you more of a functional programmer or an object-oriented coder?

结构上最大的变化是,我们现在有了一个新的“语言”部分,询问有关JavaScript作为语言本身的问题。 您是否使用解构? 箭头功能呢? 您是否看过地图和场景集? 您是功能性程序员还是面向对象的编码器?

We also have a whole section all about browser APIs so we can see how popular each of them is.

我们还将对浏览器API进行整节介绍,以便我们了解它们的流行程度。

The goal is to get an idea not just of what libraries people are using, but also what their actual code looks like.

目的是不仅要了解人们正在使用哪些库,还应该了解他们的实际代码是什么样。

新库:Svelte,赛普拉斯等 (New Libraries: Svelte, Cypress, and more)

Speaking of libraries, we also have a couple new entrants.

说到图书馆,我们也有一些新进入者。

First off is , which has been making big waves in the community all throughout 2019. It was also our #1 "other" answer in the front-end section last year, so it only made sense to include it.

首先是 ,它在整个2019年都在社区中引起了极大的轰动。它也是去年前端部分中我们排名第一的“其他”答案,因此将其包括在内才有意义。

In the back-end section, we added and . They're not "traditional" back-end frameworks like Express or Koa, but they've gained so much popularity recently that not adding them felt like an oversight.

在后端部分,我们添加了和 。 它们不是Express或Koa之类的“传统”后端框架,但是最近它们获得了极大的欢迎,以至于没有添加它们就感觉像是一种疏忽。

In the testing section, we've added and , and in the mobile & desktop section and .

在测试部分,我们添加了和 ,在移动和桌面部分添加了和 。

资源科 (Resources Section)

Just like we did for this year's survey, we also added a Resources section to find out more about which blogs, resources, and podcasts are the most popular.

就像我们在今年的调查中所做的一样,我们还添加了“资源”部分,以了解更多有关哪些博客,资源和播客最受欢迎的信息。

自定义调查前端 (A Custom Survey Front-End)

Finally, on the technical side of things the huge change this year is that we're using our own homegrown survey platform for the first time instead of relying on .

最后,在技术方面,今年的巨大变化是我们第一次使用自己的本地调查平台,而不是依靠 。

This is something we had talked about for a while, but we didn't consider it seriously until we realized Typeform had changed their pricing, and that their largest plan was now capped at 10,000 responses per month! Typeform wasn't interested in accommodating us, so with the end of the year looming ever closer, I got to work to hack a survey app together.

这是我们讨论了一段时间的事情,但是直到我们意识到Typeform改变了他们的价格,并且他们最大的计划现在限制为每月10,000个回复之后,我们才认真考虑它。 Typeform对容纳我们不感兴趣,因此随着临近年底的临近,我不得不一起研究一个调查应用程序。

Thankfully I had a secret weapon in my pocket: , a full-stack JavaScript framework that's perfect for quickly putting web apps together; and I was able to build the entire app (you can ) in about five days by leveraging Vulcan's form-generation module.

值得庆幸的是,我有一个秘密武器: ,这是一个完整JavaScript框架,非常适合将Web应用程序快速组合在一起。 而且我能够利用Vulcan的表单生成模块在大约五天内构建了整个应用程序(可以 )。

Moving this fast did have a few drawbacks. We've had our share of little bugs, but nothing major so far. Also, we now require you to create an account before filling out a survey. As much as we'd like to support anonymous users, we didn't have time to implement proper safeguards against data tampering, so requiring accounts seemed like the safest choice.

快速移动确实有一些缺点。 我们已经分享了一些小错误,但是到目前为止没有什么大不了的。 另外,我们现在要求您在填写调查表之前先创建一个帐户。 尽管我们想支持匿名用户,但我们没有时间实施适当的保护措施以防止数据被篡改,因此要求帐户似乎是最安全的选择。

I do think this was the right choice though. As we import data from previous years into our new survey app, we'll be able to give you access to that data so you can see how your responses have evolved over time (provided you've used the same email); and also make it easier for others to access our data to make their own data visualizations.

我确实认为这是正确的选择。 当我们将前几年的数据导入到新的调查应用程序中时,我们将能够为您提供访问这些数据的权限,以便您查看自己的回答随着时间的变化(假设您使用的是同一封电子邮件); 并且还使其他人更容易访问我们的数据以进行自己的数据可视化。

All that being said, the best way to experience all this new stuff is to go and see for yourself! So , and help us figure out this year's latest JavaScript trends.

话虽这么说,体验所有这些新事物的最好方法就是亲自去看看! 因此,请 ,并帮助我们弄清楚今年的最新JavaScript趋势。

翻译自:

转载地址:http://lihwd.baihongyu.com/

你可能感兴趣的文章
Benefit UVA - 11889
查看>>
全排列 最详细的解题报告
查看>>
c++ web服务器
查看>>
android机型排行榜(201509)
查看>>
eclipse + maven + scala+spark环境搭建
查看>>
jmeter中webdriver插件,进行自动化压测
查看>>
整站开发初始化
查看>>
洛谷P2900 [USACO08MAR]土地征用Land Acquisition(斜率优化)
查看>>
uoj#448. 【集训队作业2018】人类的本质(Min_25筛+拉格朗日插值)
查看>>
vim配置及插件安装管理(超级详细)
查看>>
楼市仅是阶段性回暖 去库存仍是明年楼市主基调
查看>>
UIImagePickerController
查看>>
怎样打开64位 Ubuntu 的32位支持功能?
查看>>
关于docker jenkins启动时失败的问题处理
查看>>
JavaScript 循环绑定之变量污染
查看>>
poj 1038 Bugs Integrated, Inc. 三进制状态压缩 DFS 滚动数组
查看>>
zoj 1654 Place the Rebots 最大独立集转换成二分图最大独立边(最大匹配)
查看>>
Wordpress解析系列之PHP编写hook钩子原理简单实例
查看>>
怎样看待个体经济
查看>>
不明觉厉的数据结构题2
查看>>