by Sacha Greif

由Sacha Greif

JavaScript状态2018 (The State of JavaScript 2018)

我们对20,000多名JavaScript开发人员进行了调查。 这是他们告诉我们的。 (We surveyed over 20,000 JavaScript developers. Here’s what they told us.)

I’m writing these lines somewhere high above Russia because it turns out there’s people willing to fly me halfway across the world for a conference just so they can hear me talk about JavaScript trends.

我将这些行写在俄罗斯上空的某处,因为事实证明有些人愿意将我带到世界各地参加会议,以便他们听到我谈论JavaScript趋势。

If you ask me, that’s a pretty good measure of how popular the State of JavaScript survey has become, and by extension how fast the JavaScript ecosystem keeps growing.

如果您问我,这很好地衡量了JavaScript状态调查的流行程度,并由此扩展了JavaScript生态系统保持增长的速度。

This year again, we surveyed over 20,000 JavaScript developers to figure out what they’re using, what they’re happy with, and what they want to learn. And the result is a unique collection of stats and insights that will hopefully help you make your own way through the JavaScript ecosystem.

今年再次,我们对20,000多名JavaScript开发人员进行了调查,以弄清他们正在使用什么,他们对什么感到满意以及他们想学习什么。 结果是独特的统计信息和见解,将有望帮助您通过JavaScript生态系统走自己的路。

? 了解结果 (? Check out the results)

…or read on to learn more about the project.

…或继续阅读以了解有关该项目的更多信息。

今年有什么新消息 (What’s New This Year)

暗模式 (Dark Mode)

If you’ve seen the survey before, the first thing you’ll notice is probably the new, darker color scheme. We think it switches things up a bit, makes the charts pop more, and just looks pretty cool!

如果您之前看过调查,那么您会注意到的第一件事可能是新的,深色的配色方案。 我们认为它会稍微改变一下,使图表更加流行,而且看起来很酷!

个别页面 (Individual Pages)

In addition to grouping libraries in broad sections like front-end, back-end, and so on, we also decided to give each library its very own page. This makes it easier to ignore data that’s not relevant to you, while drilling deeper into tools that you do use.

除了将库分为前端,后端等宽泛部分外,我们还决定为每个库提供自己的页面。 这使您更容易忽略与您无关的数据,同时更深入地研究了您使用的工具。

历史数据 (Historical Data)

Because this is the third edition of the survey, we’re now able to show you historical data over the past two years! This is super helpful to see longer-term trends, and not just a frozen snapshot in time.

由于这是调查的第三版,因此我们现在可以向您显示过去两年的历史数据! 这对于查看长期趋势非常有用,而不仅仅是及时冻结快照。

喜欢不喜欢 (Likes & Dislikes)

We decided to feature fewer libraries this year, but in turn ask more follow-up questions about each of them. So not only did we ask you what you use, but also why you use it.

我们决定今年减少图书馆的数量,但反过来又询问有关每个图书馆的更多后续问题。 因此,我们不仅问您使用什么,还问您为什么使用它。

没有CSS (No CSS)

Sadly there will be no CSS section this year. CSS is such a vast topic it would almost merit a survey of its own, so rather than do things halfway we decided to focus on just JavaScript this time.

遗憾的是,今年将没有CSS部分 。 CSS是一个如此庞大的主题,几乎值得对它自己进行一次概述,因此这次我们决定只专注于JavaScript,而不是半途而废。

更多分享 (More Sharing)

We took the extra step of generating image previews for every chart in the survey to make it easier to share them on social media or by email.

我们采取了额外的步骤,即为调查中的每个图表生成图像预览,以便更轻松地在社交媒体或电子邮件上共享它们。

主要趋势 (Main Trends)

We encourage you to check out the full results but maybe you’re in a hurry and only want the gist of it?

我们鼓励您检查全部结果,但也许您很着急,只想要它的要旨?

TL;DR: things didn’t change that much this year.

TL; DR:今年情况没有太大变化。

JavaScript“香料” (JavaScript “Flavors”)

We call “flavors” the various syntaxes and languages that can compile to JavaScript, such as TypeScript.

我们称“风味”为可以编译为JavaScript的各种语法和语言,例如TypeScript。

And speaking of TypeScript, it’s the clear leader in this category. In most places, over 40% of developers said they had used it and would happily use it again, and in some countries that ratio even went over 50%.

说到TypeScript, 它无疑是这一类别的领导者。 在大多数地方,超过40%的开发人员表示他们已经使用过并且会很高兴再次使用它,在某些国家/地区,该比例甚至超过了50%。

前端框架 (Front-End Frameworks)

Here’s a chart that plots how satisfied developers are with front-end libraries vs how many users they have:

这是一张图表,显示了开发人员对前端库的满意程度以及他们拥有多少用户 :

As you can see, only React has both a high satisfaction ratio and a large user base, although Vue is definitely getting there. Angular on the other hand does boast a large user base, but its users don’t seem too happy.

如您所见,尽管Vue肯定会实现目标,但只有React具有很高的满意度和庞大的用户群。 另一方面,Angular确实拥有庞大的用户群,但它的用户似乎不太满意。

资料层 (Data Layer)

The data layer groups all the technologies used to transmit and manage data. And while Redux is dominant in terms of raw numbers, we think the trend favors GraphQL and adjacent technologies such as Apollo:

数据层将用于传输和管理数据的所有技术分组。 虽然Redux在原始数据方面占主导地位,但我们认为趋势倾向于GraphQL和诸如Apollo之类的相邻技术:

Of course, in theory you can use Redux and GraphQL together, but in practice that combination might end up being replaced by a GraphQL-specific tool like Apollo’s built-in state management.

当然,从理论上讲,您可以将Redux和GraphQL一起使用,但实际上,这种组合最终可能会被特定于GraphQL的工具(如Apollo的内置状态管理)所取代。

To find out what’s going on with testing, back-end frameworks, and much more, read the full results!

要了解测试,后端框架等方面的情况,请阅读全部结果 !

堆栈 (The Stack)

It might seem weird to talk about a tech stack for what is, at its core, a simple static site. But this is JavaScript we’re talking about after all! So you know things are never going to be that simple!

谈论一个技术堆栈,其核心是一个简单的静态站点,这似乎很奇怪。 但这毕竟是我们正在谈论JavaScript! 因此,您知道事情永远不会那么简单!

  • We collected the data using Typeform. We built our own command-line tool to generate surveys from YAML outlines through their API, which was a huge help for iterating quickly.

    我们使用Typeform收集了数据。 我们构建了自己的命令行工具,可通过其API从YAML轮廓生成调查,这对于快速进行迭代提供了巨大的帮助。

  • We then treated and normalized the data using Elasticsearch.

    然后,我们使用Elasticsearch处理数据并将其标准化。

  • We plugged the resulting JSON files into Gatsby to generate the site. We used a combination of Gatsby’s GraphQL data-querying features and plain old imports to load the data.

    我们将生成的JSON文件插入Gatsby中以生成站点。 我们结合了Gatsby的GraphQL数据查询功能和普通的import来加载数据。

  • Finally, we generated all the charts using the amazing Nivo.js data visualization library for React.

    最后,我们使用了惊人的Nivo.js React数据可视化库生成了所有图表。

If you’re curious, the entire project is available on GitHub for learning purposes.

如果您感到好奇,可以在GitHub上找到整个项目以供学习。

关于团队 (About The Team)

In case you’re curious who’s behind the survey:

如果您想知道调查背后的人:

萨莎·格里夫 ( Sacha Greif) (我!) (Sacha Greif (me!))

I created the survey in 2016 to answer my own questions about the best technologies to learn. Two years later I’m still learning, and also trying to reinvest all that freshly acquired knowledge into my very own JavaScript framework, Vulcan.js.

我在2016年创建了该调查,以回答有关最佳学习技术的问题。 两年后,我仍在学习,并且还尝试将所有新获得的知识重新投资到我自己JavaScript框架Vulcan.js中 。

拉斐尔·贝尼特(Raphael Benitte) (Raphael Benitte)

Raphael is the creator of Nivo, and an all-around data visualization expert, and front-end bad-ass. He also takes care of all data analysis tasks for the survey.

Raphael是Nivo的创造者, 他是全方位的数据可视化专家和前端坏蛋。 他还负责调查的所有数据分析任务。

迈克尔·兰博(Michael Rambeau) (Michael Rambeau)

Michael is the creator of BestOfJS, an aggregator of data and trends about the JavaScript ecosystem. He’s the perfect person to ask when you need data about some obscure JavaScript library!

Michael是BestOfJS的创建者, BestOfJS是JavaScript生态系统的数据和趋势的聚合者。 当您需要一些晦涩JavaScript库数据时,他是一个完美的人!

下一步是什么 (What’s Next)

Launching this year’s site was the result of over two months of hard work collecting, analyzing, and presenting data. But there’s still a lot more we could do.

今年的网站启动是经过两个多月的辛勤工作,收集,分析和呈现数据的结果。 但是,我们还有很多事情可以做。

For example, we would love to make the results site available in more languages. This will require a little re-engineering on our part, as a lot of strings are currently hardcoded, but it should be possible.

例如,我们希望提供更多语言版本的结果网站。 由于许多字符串当前都已进行硬编码,因此我们需要进行一些重新设计,但应该可以。

If you’d like to help translate the site in your language, please check out this GitHub thread.

如果您想以您的语言翻译该网站,请查看GitHub线程 。

And with all the work we’ve put in, we’re starting to think it might be a good idea to reuse our setup for other surveys. How about the State of…Turbo Pascal? Well, maybe not. But do let us know in the comments if you have any suggestions!

在进行了所有工作之后,我们开始认为将我们的设置重新用于其他调查可能是个好主意。 …帕斯卡尔涡轮状态如何? 好吧,也许不是。 但是,如果您有任何建议,请在评论中让我们知道!

翻译自: https://www.freecodecamp.org/news/the-state-of-javascript-2018-8322bcc51bd8/

JavaScript状态2018相关推荐

  1. 2019年JavaScript状态调查中的新增功能

    We just opened the 2019 State of JavaScript survey. Go take it if you haven't done so already! 我们刚刚打 ...

  2. 使用JavaScript解答2018第九届蓝桥杯C/C++省赛A组试题

    大三时参加过第七届蓝桥杯个人赛及团队赛,转眼已经两年,最近看了看第九届蓝桥杯试题,打算用JavaScript实现一下. 题目1 标题:分数 1/1 + 1/2 + 1/4 + 1/8 + 1/16 + ...

  3. linux 查看当前状态_Linux视频编辑的当前状态2018

    linux 查看当前状态 众所周知,Linux在现代电影制作中意义重大. Linux是标准的基础,是数字效果的字面工业标准 ,但是,像所有具有发展动力的技术一样,剪辑镜头的过程似乎仍然默认为非Linu ...

  4. 2018 年,我们该如何使用 JavaScript?

    命令行工具 大多数库和框架都配备有一个命令行工具,通过输入一个命令,可以为我们启动一些框架项目,以快速创建我希望的东西.这通常包括一个启动脚本(有时用自动重新加载器),构建脚本,测试结构等等.当我们创 ...

  5. 谁参加了JavaScript 2018状况调查?

    by Sacha Greif 由Sacha Greif 谁参加了JavaScript 2018状况调查? (Who Took the State of JavaScript 2018 Survey?) ...

  6. javascript 图表_JavaScript 2018年的三个有争议的图表

    javascript 图表 by Sacha Greif 由Sacha Greif JavaScript 2018年的三个有争议的图表 (Three Controversial Charts From ...

  7. 订单状态 css_CSS状态2019

    订单状态 css 我们对11,000多名CSS开发人员进行了调查. 这就是我们学到的东西. (We surveyed over 11,000 CSS developers. Here's what w ...

  8. 回顾2017年JavaScript状况

    by Sacha Greif 由Sacha Greif 回顾2017年JavaScript状况 (A Look Back at the State of JavaScript in 2017) 在20 ...

  9. 从零学javascript_我刚刚问了23,000个开发人员他们对JavaScript的看法。 这是我学到的。...

    从零学javascript by Sacha Greif 由Sacha Greif 我刚刚问了23,000个开发人员他们对JavaScript的看法. 这是我学到的. (I just asked 23 ...

最新文章

  1. 为什么链接库的顺序有时会导致GCC错误?
  2. 两个不相同的类之间如果赋值
  3. 高并发,分布式系统要点
  4. 虚拟局域网软件开源_ZeroTier虚拟局域网免费远程桌面体验--替代TeamViewer
  5. 手把手教从零开始在GitHub上使用Hexo搭建博客教程(二)-Hexo参数设置
  6. Node.js: NPM 使用介绍
  7. python之模块之shutil模块
  8. 《中国人工智能学会通讯》——5.4 结 论
  9. Python 爬虫分析豆瓣 TOP250 告诉你程序员业余该看什么书?
  10. 用VB编写的一个可在屏幕上移动的十字架
  11. 由深度神经网络想到的人生意义和哲理
  12. Android 开源框架Universal-Image-Loader完全解析(二)--- 图片缓存策略详解
  13. pom文件显示删除线
  14. Wampserver下载安装教程
  15. 浅谈股价预测模型:分类树算法
  16. iPhone 计算机 桌面,2分钟学会Windows仿苹果任务栏,你的电脑桌面也可如此炫酷!...
  17. linux运行魔兽世界,暴雪内部就这么玩:Linux运行《魔兽世界》教程
  18. matlab 圣诞树,搞气氛!用MATLAB画一棵Bling Bling的圣诞树
  19. 项目mysql数据导入数据的Java程序
  20. git 详解-进阶篇

热门文章

  1. 树视图主要属性 c# 0207
  2. celery-02-安装与使用说明-for-redis
  3. 51信用卡在微服务架构下的监控平台架构实践
  4. SpringBoot(十一)-- 动态数据源
  5. SolidEdge 如何绘制局部视图 局部放大图
  6. 金额数字转中文大写(转)
  7. 评分组件(RatingBar)
  8. Appium安装过程
  9. Oracle corrupt block(坏块) 详解
  10. JDDroppableView