javascript 圖表_JavaScript 2018年的三個有爭議的圖表

javascript 圖表

by Sacha Greif

由Sacha Greif

JavaScript 2018年的三個有爭議的圖表 (Three Controversial Charts From the State of JavaScript 2018)

您認為統計數據和圖表很無聊嗎? 再想一想… (You thought stats and graphs were boring? Think again…)

“Controversial” is literally the most overused word on the Internet, with the possible exception of “literally”. But this time it’s true: some of the charts in our 2018 State of JavaScript survey results generated a lot more debate than others. Let’s see why!

從字面上看,“有爭議的”是互聯網上使用最多的單詞,可能有“文字上的”例外。 但這一次是真的: 2018年JavaScript狀態調查結果中的某些圖表比其他圖表引起了更多爭議。 讓我們看看為什么!

性別差距是真實的 (The Gender Gap is Real)

I’m sure you’ve heard that there’s a gender gap in tech. If you had asked me last month, I’d probably have said something like 80/20% male/female. What about you, what would your estimate be?

我相信您已經聽說科技領域存在性別差距。 如果您上個月問過我,我大概會說80/20%的男性/女性。 那你呢,你的估計是多少?

Scroll down to see the answer!

向下滾動以查看答案!

Scroll down…

向下滾動…

Keep scrolling…

繼續向下滑…

A little bit more…

多一點…

Imagine my surprise when our data revealed this sea of red dots and a 95/5% breakdown instead!

想象一下,當我們的數據顯示出紅點之海和95/5%的故障時,我感到驚訝!

My first instinct was that something must be wrong with our methodology. After all a lot of people hear about the survey through places like Hacker News or Reddit, which themselves could have skewed demographics.

我的第一個直覺是我們的方法一定有問題。 畢竟,很多人都是通過Hacker News或Reddit之類的網站來了解這項調查的,他們本來可能會歪曲人口統計信息。

But the Stack Overflow developer survey confirmed that our numbers weren’t that far off:

但是Stack Overflow開發人員調查證實,我們的數字相差不遠:

(Note: it was actually not that easy to find other developer surveys to see if ours and Stack Overflow were outliers or not. If you find any please let me know!)

(注意:查找其他開發人員調查以查看我們的調查和Stack Overflow是否離群值實際上并不容易。如果有發現,請告訴我!)

As you can imagine, this chart generated a lot of disappointed tweets:

您可以想象,此圖表產生了許多令人失望的推文:

So what can be done? Our first instinct was to find ways to reach out to more women and minorities, and that’s certainly a good first step. But while making the survey itself more inclusive is necessary (and we have some ideas around that, starting with translating it to other languages), it’s also important to remember that a survey only reflects reality.

那該怎么辦呢? 我們的第一個直覺是找到接觸更多婦女和少數族裔的方法,這無疑是一個很好的第一步。 但是,盡管使調查本身更具包容性是必要的(并且我們對此有一些想法,首先是將其翻譯成其他語言 ),但切記調查僅反映了現實也很重要。

We don’t want to end up focusing on making the numbers look good, and then calling it a day. So the ultimate goal should still be to make the industry as a whole as welcoming as it can be, so that future surveys naturally reflect that new state of things.

我們不想最后集中精力使數字看起來不錯,然后再稱之為一天。 因此,最終目標仍然應該是使整個行業盡可能地受歡迎,以便將來的調查自然反映出這種新情況。

角vs角 (Angular vs Angular)

Ever since Angular’s big split into Angular (new hotness) and AngularJS (old version), talking about the framework has been tricky.

自從Angular分為Angular (新功能)和AngularJS (舊版本)以來,談論框架一直很棘手。

And this year, I have to admit we didn’t do an especially good job of handling the matter.

今年,我不得不承認,我們在處理此事方面做得并不出色。

First, here’s how the Angular question has been addressed over all 3 years of the survey:

首先,這是在過去三年的調查中如何解決“角度”問題的方法:

  • 2016: asked about both Angular and AngularJS, in two separate questions

    2016年:在兩個單獨的問題中問及Angular和AngularJS
  • 2017: asked about both Angular and AngularJS, in two separate questions

    2017年:在兩個單獨的問題中問及Angular和AngularJS
  • 2018: only asked about Angular

    2018年:只問過Angular

Here’s the resulting chart:

這是結果圖:

That chart shows Angular for all three years. The 2016 and 2017 data for AngularJS simply doesn’t factor into the chart.

該圖顯示了過去三年的Angular 。 AngularJS的2016年和2017年數據根本沒有計入圖表中。

We thought this was the logical thing to do: AngularJS is an old and deprecated technology, so we simply dropped it from the survey and moved on.

我們認為這是合乎邏輯的事情:AngularJS是一項過時且過時的技術,因此我們只是將其從調查中刪除并繼續使用。

The issue of course, as you can maybe guess from the chart, is that many respondents didn’t see things that way. Some of them thought our question about Angular was also about AngularJS, which explains the sudden rise in “would not use again” answers in 2018.

當然,您可能從圖表中可以猜到,問題是許多受訪者并不這么認為。 他們中的一些人認為我們關于Angular的問題也是關于AngularJS的問題,這解釋了2018年“將不再使用”答案的突然增加。

This did not go over well:

這進展不順利:

In our defense, we simply treated Angular like any other framework mentioned in the survey, using its official name (“Angular”). Maybe we should have taken the initiative to substitute something like “Angular 2+” instead, even though that’s not the official nomenclature; or at least added a special clarifying note to explain the situation.

在我們的辯護中,我們只是將Angular像調查中提到的任何其他框架一樣使用了官方名稱(“ Angular”)。 也許我們應該主動代替“ Angular 2+”之類的東西,即使這不是官方名稱。 或至少添加了一個特殊的說明以解釋這種情況。

In any case, I’ll agree that we did do a poor job of explaining the whole issue, and for that we apologize.

無論如何,我都同意我們在解釋整個問題上做得很差,對此我們深表歉意。

采樣偏差 (Sampling Bias)

We also heard accusations of sampling bias, usually coming from either people in statistics, or people who’ve read into it a bit on Wikipedia.

我們還聽到了關于抽樣偏差的指控,通常來自統計人員或在Wikipedia上有所了解的人員。

Here’s something interesting to note: all three members of the State of JS team are React users, not Angular users. It seems like that’d make us more likely to have access to a React-using audience, right?

需要注意的是:JS State團隊的所有三個成員都是React用戶,而不是Angular用戶。 看來這會使我們更有可能接觸使用React的受眾,對嗎?

While this is certainly a possibility, most respondents found the survey through “neutral” sources like Reddit or Hacker News. Also, apart from the Angular issue already discussed, our data seems to match that of other surveys:

盡管這確實是有可能的,但大多數受訪者都是通過Reddit或Hacker News之類的“中立”資源找到該調查的。 此外,除了已經討論的Angular問題之外,我們的數據似乎與其他調查的數據相符:

Unless… does the NPM team use React too? Oh the conspiracy…!

除非……NPM團隊也使用React嗎? 陰謀哦!

But seriously, as you might imagine, we’re already doing everything we can to spread the survey to a broader audience. And we can only hope that as the survey audience grows year after year, whatever sampling bias we might introduce will naturally evaporate.

但認真的,正如您可能想像的那樣,我們已經在盡一切可能將調查傳播給更多的受眾。 我們只能希望,隨著調查對象的年復一年地增長,我們可能引入的任何抽樣偏差都會自然消失。

您是否應該真正避免使用Ember.js? (Should You Really Avoid Ember.js?)

Our final controversy concerns our recommendation to “avoid” certain technologies.

我們的最終爭議是關于“避免”某些技術的建議。

Well, it does say “AVOID” in all caps right there on the chart, I can’t deny that.

好吧,它確實在圖表上的所有大寫中都表示“避免”,我不能否認。

As a user of Ember, Polymer, or any other technology that has the misfortune of ending up in that “avoid” quadrant, this could understandably make you mad. Just because some fraction of developers may have had a bad experience with a library a few years back doesn’t mean everybody should avoid it!

作為Ember,Polymer或其他不幸陷入“避開”象限的技術的用戶,這可以使您發瘋。 僅僅因為某些開發人員幾年前可能對圖書館有不好的經驗,并不意味著每個人都應該避免使用它!

I can certainly understand that sentiment, since I’m in the same boat as you. I’m a heavy Meteor user myself: I wrote a book about it, I’m even building an entire open-source framework on it, yet I had to accept that Meteor too falls in the “avoid” quadrant:

我當然可以理解這種情緒,因為我和你在同一條船上。 我本人是Meteor的沉重用戶:我寫了一本關于它的書,甚至在它上面建立了一個完整的開源框架 ,但我不得不接受Meteor也屬于“避免”象限:

I think Meteor is great, but this is not just about what I think, or what you think. It’s about what 20,000 developers think.

認為流星很棒,但這不僅僅關乎我的想法或您的想法。 這是關于20,000名開發人員的想法。

And yes, going from “most developers wouldn’t use X again” to “you should avoid X” does take a leap. We could just give you the data and leave you to form your own conclusions.

是的,從“大多數開發人員不會再使用X”到“您應該避免使用X”確實是一個飛躍。 我們可以給您數據,讓您自己得出結論。

But this goes back to the whole reason we’re running the survey in the first place: helping you make decisions. If you already know and love Ember, Meteor, or any other technology, then more power to you! We have no intention of criticizing your choice.

但這可以歸結為我們首先進行調查的全部原因:幫助您制定決策。 如果您已經了解并喜歡Ember,Meteor或任何其他技術,那么為您帶來更多動力! 我們無意批評您的選擇。

If, on the other hand, you come to use for insight and guidance, then we think the best way to do that is to be clear, and maybe even a little blunt. Saying things like “every library has its pros and cons, and you should pick the best one for your needs” may not offend anybody, but it also doesn’t really help anybody.

另一方面,如果您開始使用以獲得見識和指導,那么我們認為做到這一點的最佳方法就是弄清楚,甚至可能會變得有些直率。 說諸如“每個圖書館都有其優缺點,您應該選擇最適合自己的圖書館”之類的東西可能不會冒犯任何人,但它實際上并沒有對任何人有所幫助。

JavaScript(某些)的狀態 (The State of (Some Of) JavaScript)

At the end of the day it’s important to remember that a survey can only go so far. We do our best to be representative of the entire JavaScript ecosystem, but 20,000 developers is still only a tiny portion of the community.

歸根結底,重要的是要記住,一項調查只能走這么遠。 我們盡力代表整個JavaScript生態系統,但是20,000個開發人員仍然只是社區的一小部分。

We don’t think this means it’s not worth trying, though. And with your help, we believe we can keep improving things year after year.

但是,我們認為這并不值得嘗試。 在您的幫助下,我們相信我們可以年復一年地不斷改進。

So keep your feedback coming, whether good or bad. And of course, see you in 2019!

因此,無論您的反饋是好是壞,請隨時提出反饋。 當然,2019年見!

翻譯自: https://www.freecodecamp.org/news/three-controversial-charts-from-the-state-of-js-2018-ec9dda45749/

javascript 圖表

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/393016.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/393016.shtml
英文地址,請注明出處:http://en.pswp.cn/news/393016.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

簽入在服務器上之后,別人獲取了,在解決方案資源管理器中找不到。

簽入在服務器上之后,別人獲取了,在解決方案資源管理器中找不到。 這個問題具體原因我也不太清楚,但是我找到了一個解決方案。直接在解決方案上右鍵,添加,添加現有項。把在解決方案資源管理器上看不見的選中&#xff0c…

03JavaScript程序設計修煉之道-2019-06-20_20-31-49

## DomDocument object model 文檔對象模型Dom樹html|head body| |meta title div|ul|li li li在js世界中,把dom樹的每個元素都看成一個對象,對象就有屬性和方法dom學什么 dom節點操作 查找元素 元素增刪改查 樣式操作 事件綁定等## 事件三要素 1 事件源…

linux 獨占 cpu,宋寶華:談一談Linux讓實時 高性能任務獨占CPU的事

本文主要討論在高實時要求、高效能計算、DPDK等領域,Linux如何讓某一個線程排他性獨占CPU;獨占CPU涉及的線程、中斷隔離原理;以及如何在排他性獨占的狀況下,甚至讓系統的timer tick也不打斷獨占任務,從而實現最低的延遲…

leetcode347. 前 K 個高頻元素(排序)

給定一個非空的整數數組&#xff0c;返回其中出現頻率前 k 高的元素。 示例 1: 輸入: nums [1,1,1,2,2,3], k 2 輸出: [1,2] 示例 2: 輸入: nums [1], k 1 輸出: [1] 代碼 class Solution {public int[] topKFrequent(int[] nums, int k) {Map<Integer,Integer>…

如何在React中從其父組件更改子組件的狀態

by Johny Thomas約翰尼托馬斯(Johny Thomas) 如何在React中從其父組件更改子組件的狀態 (How to change the state of a child component from its parent in React) We will be building a simple React app which shows the real name of a superhero on a button click.我們…

vue-property-decorator 提供 OO 的風格 Vue Component 方便類型聲明

Prop 父子組件之間傳值 Install: npm install --save vue-property-decoratorChild: <template><div>{{fullMessage}}</div> </template><script lang"ts">import Vue from vue import {Component, Prop} from vue-property-decorato…

python學習筆記(1)

變量的命名 變量名只能包含字母、數字、下劃線&#xff0c;不能以數字打頭不要用Python關鍵字、函數名、保留用于特殊用途的單詞作變量名變量名應短且有描述性慎用小寫l和大寫O字符串 就是一系列字符 在Python中&#xff0c;用引號擴起的都是字符串&#xff0c;引號可以是單引號…

使用這些HTTP標頭保護您的Web應用程序

by Alex Nadalin通過亞歷克斯納達林 使用這些HTTP標頭保護您的Web應用程序 (Secure your web application with these HTTP headers) This is part 3 of a series on web security: part 2 was “Web Security: an introduction to HTTP”這是有關Web安全的系列文章的第3部分&…

leetcode547. 朋友圈(并查集)

班上有 N 名學生。其中有些人是朋友&#xff0c;有些則不是。他們的友誼具有是傳遞性。如果已知 A 是 B 的朋友&#xff0c;B 是 C 的朋友&#xff0c;那么我們可以認為 A 也是 C 的朋友。所謂的朋友圈&#xff0c;是指所有朋友的集合。 給定一個 N * N 的矩陣 M&#xff0c;表…

linux ssh Unused,安裝openssh-portable時遇到的問題及解決辦法

問題1&#xff1a;configure: error: Your OpenSSL headers do not match yourlibrary. Check config.log for details.If you are sure your installation is consistent, you can disable the checkby running “./configure –without-openssl-header-check”.Also see cont…

windows 刪除刪除不掉的文件

DEL /F /A /Q \\?\%1RD /S /Q \\?\%1 windows下刪除刪除不掉的文件&#xff1a; 1、打開記事本&#xff0c;把上面的命令復制進去 2、保存&#xff0c;后綴名改為.bat&#xff0c;ok 3、把想要刪除的文件托放到這個文件的圖標上 轉載于:https://www.cnblogs.com/Mike_Chang/p…

云計算技術的躍進睿云智合專業先進水平

對于未來的云計算數據中心&#xff0c;網絡虛擬化方案需要適應計算和存儲虛擬化的浪潮&#xff0c;快速的實現云計算業務的發放&#xff0c;以及能夠滿足動態的應用程序工作負載的需求;同時需要幫助管理員更簡單的管理物理網絡和虛擬網絡&#xff0c;實現網絡可視化。睿云智合&…

CSS 選擇器權重計算規則

CSS 選擇器&#xff08;Selector&#xff09;的權重&#xff08;Specificity&#xff09;決定了對于同一元素&#xff0c;到底哪一條 CSS 規則會生效。且僅有當多條 CSS 規則都對同一元素聲明了相應樣式時&#xff0c;才會涉及到權重計算的問題。 選擇器的分類 正式計算選擇器權…

本地構建和自動化構建_如何構建最強大,最安全的家庭自動化系統

本地構建和自動化構建by Amir Off由Amir Off 如何構建最強大&#xff0c;最安全的家庭自動化系統 (How to build the most robust and secure home automation system) In this article, I’ll discuss how I built a Smart Home Automation System with Angular and Node.js …

leetcode990. 等式方程的可滿足性(并查集)

給定一個由表示變量之間關系的字符串方程組成的數組&#xff0c;每個字符串方程 equations[i] 的長度為 4&#xff0c;并采用兩種不同的形式之一&#xff1a;“ab” 或 “a!b”。在這里&#xff0c;a 和 b 是小寫字母&#xff08;不一定不同&#xff09;&#xff0c;表示單字母…

random對文件隨機重命名

對文件隨機重命名&#xff0c;這個用途可廣了&#xff0c;大家可以想想 echo off setlocal ENABLEDELAYEDEXPANSION for /r %%a in (*.txt) do ( set c!random! ren %%~dpnsa.txt !c!.txt) pause 本文轉自sucre03 51CTO博客&#xff0c;原文鏈接&#xff1a;http://blog…

AC日記——Periodic RMQ Problem codeforces 803G

G - Periodic RMQ Problem 思路&#xff1a; 題目給一段序列&#xff0c;然后序列復制很多次&#xff1b; 維護序列很多次后的性質&#xff1b; 線段樹動態開點&#xff1b; 來&#xff0c;上代碼&#xff1a; #include <cstdio> #include <cstring> #include <…

數據之路 - Python爬蟲 - 數據存儲

一、文件存儲 1.文件打開方式 文件打開方式說明r以只讀方式打開文件。文件的指針將會放在文件的開頭。這是默認模式rb以二進制只讀方式打開一個文件。文件指針將會放在文件的開頭r以讀寫方式打開一個文件。文件指針將會放在文件的開頭rb以二進制讀寫方式打開一個文件。文件指針…

創建react應用程序_如何使用React創建一個三層應用程序

創建react應用程序Discover Functional JavaScript was named one of the best new Functional Programming books by BookAuthority!“發現功能JavaScript”被BookAuthority評為最佳新功能編程書籍之一 &#xff01; Splitting a Single Page Application into layers has a …

linux update語句,MySQL 多表 update sql語句總結

MySQL 多表 update 有幾種不同的寫法。假定我們有兩張表&#xff0c;一張表為Product表存放產品信息&#xff0c;其中有產品價格列Price&#xff1b;另外一張表是ProductPrice表&#xff0c;我們要將ProductPrice表中的價格字段Price更新為Price表中價格字段的80%。在Mysql中我…