PHP 到底是不是宇宙第1?TIOBE 排行榜来证明!
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">点击▲关注 “</span><span style="color: black;">CU技术社区</span><span style="color: black;">” 给公众号标星置顶</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">更加多</span>精彩 <span style="color: black;">第1</span>时间直达</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">做为一名程序员,都比较关注其<span style="color: black;">运用</span>编程语言的热度,一方面编程语言的热度决定了它<span style="color: black;">持有</span>多大的市场,另一方面<span style="color: black;">亦</span>关系到行业内程序员<span style="color: black;">选取</span>机会有多大。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">咱们</span>总听说某个编程语言排名<span style="color: black;">第1</span>,<span style="color: black;">那样</span>这些数据到底准不准确呢?</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">1</span></p><span style="color: black;"><strong style="color: blue;"><span style="color: black;">PHP是不是宇宙<span style="color: black;">第1</span>?</span></strong></span><span style="color: black;"><span style="color: black;">例如</span>,我们经常会听到一句话:</span><span style="color: black;"><span style="color: black;">PHP 是宇宙<span style="color: black;">第1</span>编程语言</span><span style="color: black;">。</span></span><img src="https://mmbiz.qpic.cn/mmbiz_png/PgqYrEEtEnqjib7L2ib66ibRbTCUpKqwqdEAYtZ9qicpGt2ibHhBYBRv5y0VvbnjvPm6PdhDlqZmxJOHZcibvWD3leWw/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"><span style="color: black;">关于这个问题,<span style="color: black;">咱们</span>很容易在 TIOBE 排行榜上得到求证,上图是2002-2019年前10大编程语言排行<span style="color: black;">状况</span>。</span><span style="color: black;"><span style="color: black;">能够</span><span style="color: black;">显著</span>看出 PHP 虽然<span style="color: black;">亦</span>算是一个比较流行的编程语言,但其历史上就从来<span style="color: black;">无</span><span style="color: black;">作为</span>过<span style="color: black;">第1</span>,在 PHP 最巅峰时刻,排名成绩<span style="color: black;">亦</span>只能在第<span style="color: black;">3、</span>四名。</span><span style="color: black;">那么这些数据是从何而来,又是<span style="color: black;">怎样</span>计算的呢?</span><span style="color: black;"><span style="color: black;">我相信<span style="color: black;">每一个</span>程序员应该都听说过 <span style="color: black;">TIOBE 这个名字,<span style="color: black;">由于</span>几乎每月都有<span style="color: black;">媒介</span><span style="color: black;">报告</span>当月 TIOBE </span><span style="color: black;">编程语言排行榜,以至于它<span style="color: black;">作为</span>编程语言排行榜<span style="color: black;">行业</span>最权威的组织。</span></span></span><span style="color: black;"><span style="color: black;">因此</span>我<span style="color: black;">始终</span>就在好奇,TIOBE 到底是个什么<span style="color: black;">公司</span>?<span style="color: black;">她们</span>又是<span style="color: black;">怎样</span>计算编程语言排行榜的?且听我慢慢道来。</span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">2</span></p><span style="color: black;"><strong style="color: blue;"><span style="color: black;">TIOBE <span style="color: black;">机构</span>介绍</span></strong></span><span style="color: black;">TIOBE <span style="color: black;">机构</span>成立于 2000年10月1日,由瑞士的<span style="color: black;">机构</span> Synspace 和<span style="color: black;">有些</span>独立的投资人创建。TIOBE是"The Importance Of Being Earnest"的缩写,该<span style="color: black;">机构</span><span style="color: black;">重点</span>关注于软件质量的<span style="color: black;">评定</span>。</span><span style="color: black;">TIOBE 程序设计语言指数<span style="color: black;">是由于</span>该<span style="color: black;">机构</span>推出并进行<span style="color: black;">守护</span>的,这个指数将程序设计语言以排名列表的形式<span style="color: black;">供给</span>出来,并且<span style="color: black;">每一个</span>月更新一次,用来<span style="color: black;">暗示</span>程序设计语言的流行度。</span><span style="color: black;">TIOBE 排行榜是<span style="color: black;">按照</span>互联网上有经验的程序员、课程和第三方厂商的数量,并<span style="color: black;">运用</span>搜索引擎(如Google、Bing、Yahoo!)以及 Wikipedia、Amazon、YouTube 统计出排名数据,只是反映某个编程语言的热门程度,并<span style="color: black;">不可</span>说明一门编程语言好<span style="color: black;">欠好</span>,<span style="color: black;">或</span>一门语言所编写的代码数量多少。</span><span style="color: black;">该指数<span style="color: black;">能够</span>用来检阅<span style="color: black;">研发</span>者的编程技能能否跟上趋势,或<span style="color: black;">是不是</span>有必要作出战略改变,以及什么编程语言是应该<span style="color: black;">即时</span><span style="color: black;">把握</span>的。观察认为,该指数反应的虽并非当前最流行或应用最广的语言,但对世界范围内<span style="color: black;">研发</span>语言的走势仍<span style="color: black;">拥有</span>重要参考<span style="color: black;">道理</span>。</span><span style="color: black;">下图为 TIOBE 10 月最新编程语言前20名:</span><img src="https://mmbiz.qpic.cn/mmbiz_png/PgqYrEEtEnqjib7L2ib66ibRbTCUpKqwqdEQFWeaR0DWkJuLpic76RlkKYicXlNYCBQOVvuA5w3RnLPIib7mYxzIib5EQ/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"><span style="color: black;">榜单<span style="color: black;">位置</span>:</span><span style="color: black;">https://www.tiobe.com/tiobe-index/</span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">3</span></p><span style="color: black;"><strong style="color: blue;"><span style="color: black;">TIOBE编程语言排名的<span style="color: black;">评定</span><span style="color: black;">办法</span></span></strong></span><span style="color: black;">TIOBE 指数的<span style="color: black;">评定</span>是<span style="color: black;">经过</span>统计该编程语言在主流搜索引擎上被搜索的次数来计算的。搜索<span style="color: black;">包含</span>在搜索引擎,<span style="color: black;">资讯</span>组及博客上的搜索等,主流搜索引擎由 Alexa.com 网站上的排名来决定。</span><span style="color: black;"><span style="color: black;">通常</span><span style="color: black;">来讲</span>,<span style="color: black;">仅有</span>符合<span style="color: black;">要求</span>的搜索引擎,符合<span style="color: black;">要求</span>的编程语言才会被计入 TIOBE 指数。</span><span style="color: black;">下面有25个搜索引擎用于计算 TIOBE 指数。所选搜索引擎是 Alexa 排名最高的25个符合以下<span style="color: black;">要求</span>的网站:</span><span style="color: black;">该网站的入口页面<span style="color: black;">包括</span>一个搜索工具</span><span style="color: black;"><span style="color: black;">查找</span>该网站的结果<span style="color: black;">包括</span>页面点击数量的指示结果</span><span style="color: black;">应该以带有清晰标签的 HTML</span><span style="color: black;"><span style="color: black;">拥有</span>特殊字符的语言搜索引擎应该被正确编码</span><span style="color: black;">搜索引擎应该<span style="color: black;">最少</span>返回1个<span style="color: black;">查找</span></span><span style="color: black;"><span style="color: black;">查找</span>该网站的结果<span style="color: black;">不该</span><span style="color: black;">包括</span>太多的<span style="color: black;">反常</span>值</span><span style="color: black;">色情网站不<span style="color: black;">包括</span>在内</span><span style="color: black;">基于上面的标准,符合<span style="color: black;">要求</span>的搜索引擎如下:</span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Google.com: 7.69%</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Baidu.com: 7.38%</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Wikipedia.org: 7.08%</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Yahoo.com: 6.77%</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Csdn.net: 6.46%</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Bing.com: 6.15%</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Google.com.hk: 5.85%</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Ebay.com: 5.54%</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Google.co.in: 5.23%</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Msn.com: 4.92%</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Hao123.com: 4.62%</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Amazon.in: 4.31%</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Google.com.br: 4.00%</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Google.co.jp: 3.69%</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Google.de: 3.38%</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Google.ru: 3.08%</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Amazon.co.uk: 2.77%</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Google.fr: 2.46%</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Indeed.com: 2.15%</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Google.es: 1.85%</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Google.it: 1.54%</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Sogou.com: 1.23%</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Google.cn: 0.92%</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Google.com.tw: 0.62%</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Google.com.mx: 0.31%</span></p><span style="color: black;"><span style="color: black;">能够</span>看到大部分的搜索引擎都来自谷歌,<span style="color: black;">亦</span>从另一方<span style="color: black;">表现</span>了谷歌的国际化程度。国内<span style="color: black;">重点</span>有百度、<span style="color: black;">Csdn</span>、<span style="color: black;">Hao123、搜狗等</span>符合<span style="color: black;">要求</span>,这个结果凸显了百度、 CSDN 和 搜狗在国际上的影响力。</span><span style="color: black;"><span style="color: black;">亦</span><span style="color: black;">能够</span>说<span style="color: black;">重点</span><span style="color: black;">是由于</span>以上 25 个网站,<span style="color: black;">每一个</span>月的搜索<span style="color: black;">状况</span>来决定当月编程语言的排行榜。</span><span style="color: black;">指数计算公式</span><span style="color: black;"><span style="color: black;">倘若</span>用 "hits(PL#i,SE)"<span style="color: black;">暗示</span>编程语言 PL 在搜索引擎 SE 上的指数排名为 i 的搜索次数,n <span style="color: black;">暗示</span>搜索引擎个数,则 PL 在前 50 名编程语言中排名<span style="color: black;">评定</span>的计算公式为</span><span style="color: black;">((hits(PL#i,SE1)/hits(PL#1) + ... + hits(PL#50)) + ... + (hits(PL#i,SEn)/hits(PL#1) + ... + hits(PL#50)))/n</span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">4</span></p><span style="color: black;"><strong style="color: blue;"><span style="color: black;">TIOBE指数的3个<span style="color: black;">必须</span><span style="color: black;">要求</span></span></strong></span><span style="color: black;">被选入 TIOBE 指数的编程语言必须满足3个<span style="color: black;">必须</span><span style="color: black;">要求</span>:</span><span style="color: black;">①它在维基百科有属于自己的词条,且维基百科清晰地<span style="color: black;">描述</span>了它是一门编程语言,这<span style="color: black;">便是</span><span style="color: black;">为何</span>(Ruby on) Rails, Excel, Android, Boost, Cocoa, ASP and AJAX <span style="color: black;">无</span>被选进 TIOBE 指数排行中的<span style="color: black;">原由</span>。</span><span style="color: black;">②它应该<span style="color: black;">拥有</span>图灵完整性(http://en.wikipedia.org/wiki/Turing_completeness),<span style="color: black;">因此呢</span> XML 和 HTML <span style="color: black;">不可</span>被计入其中,这个约束对数据<span style="color: black;">查找</span>语言 SQL <span style="color: black;">亦</span>是有效的,例如你<span style="color: black;">没法</span><span style="color: black;">运用</span> SQL 写出一个无限循环。换一方面<span style="color: black;">来讲</span>,由 SQL 扩展出的 PL/SQL 和 Transact-SQL 属于编程语言的范畴。</span><span style="color: black;">③它<span style="color: black;">针对</span>格式为+" programming" 的关键词必须<span style="color: black;">最少</span>命中5000次</span><span style="color: black;"><span style="color: black;">另一</span><span style="color: black;">哪些</span><span style="color: black;">类似</span>的编程语言会被分配到<span style="color: black;">一块</span>,但<span style="color: black;">日前</span>为止,只会计算<span style="color: black;">哪些</span>分组到<span style="color: black;">一块</span>的中搜索命中次数最高的那个,后期将<span style="color: black;">思虑</span><span style="color: black;">运用</span>这些被分组在<span style="color: black;">一块</span>的编程语言的数学并集<span style="color: black;">做为</span>它们的搜索命中次数。</span><span style="color: black;">下面是多个编程语言被分成一个组的规则<span style="color: black;">要求</span>:</span><span style="color: black;">①<span style="color: black;">倘若</span>语言有其自己的维基百科条目,则不会与其他语言分组。</span><span style="color: black;">②<span style="color: black;">倘若</span>语言 A 自动重定向到另一个维基百科条目 B,则 A 将与 B <span style="color: black;">一块</span>分组。</span><span style="color: black;">③<span style="color: black;">倘若</span>语言 A <span style="color: black;">无</span>单独的维基百科条目,但<span style="color: black;">做为</span>另一个维基百科条目 B 的一部分提及,则 A 将与 B <span style="color: black;">一块</span>分组。</span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">5</span></p><span style="color: black;"><strong style="color: blue;"><span style="color: black;">年度编程语言</span></strong></span><span style="color: black;"><span style="color: black;">TIOBE</span><span style="color: black;">每年还会评选出一门年度编程语言,<span style="color: black;">暗示</span>该门语言在当年的排名中<span style="color: black;">提升</span>幅度最大。</span></span><span style="color: black;"><span style="color: black;">例如</span>在 2018 年的时候 Python 就被评选为年度编程语言,<span style="color: black;">咱们</span>从排行榜上<span style="color: black;">亦</span>能看出 2018 年 Python 直接飙升到第三名。</span><img src="https://mmbiz.qpic.cn/mmbiz_png/PgqYrEEtEnqjib7L2ib66ibRbTCUpKqwqdE5evRmcO4LTMOI8tRcFV05Kkibr7abmaGoHcg5ZAEsknKfunoGMFXWdw/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"><span style="color: black;">历年的年度编程语言如下:</span><span style="color: black;">2018 Python</span><span style="color: black;">2017 C</span><span style="color: black;">2016 Go</span><span style="color: black;">2015 Java</span><span style="color: black;">2014 JavaScript</span><span style="color: black;">2013 Transact-SQL</span><span style="color: black;">2012 Objective-C</span><span style="color: black;">2011 Objective-C</span><span style="color: black;">2010 Python</span><span style="color: black;">2009 Go</span><span style="color: black;">2008 C</span><span style="color: black;">2007 Python</span><span style="color: black;">2006 Ruby</span><span style="color: black;">2005 Java</span><span style="color: black;">2004 PHP</span><span style="color: black;">2003 C++</span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">6</span></p><span style="color: black;"><strong style="color: blue;">最后</strong></span><span style="color: black;">TIOBE只是反映某个编程语言的热门程度,并<span style="color: black;">不可</span>说明一门编程语言好<span style="color: black;">欠好</span>。<span style="color: black;">因此</span><span style="color: black;">倘若</span>你<span style="color: black;">运用</span>的编程语言<span style="color: black;">无</span>排在前面<span style="color: black;">亦</span>不要太<span style="color: black;">懊丧</span>,它并不<span style="color: black;">表率</span><span style="color: black;">运用</span>的编程语言重要程度。</span><span style="color: black;"><span style="color: black;">然则</span>关注 TIOBE 编程语言排行榜<span style="color: black;">亦</span><span style="color: black;">拥有</span><span style="color: black;">必定</span><span style="color: black;">指点</span><span style="color: black;">道理</span>,做为编程<span style="color: black;">行业</span>内<span style="color: black;">独一</span><span style="color: black;">拥有</span>权威性的排行榜,对<span style="color: black;">咱们</span><span style="color: black;">选取</span>编程语言时起到一个参考<span style="color: black;">功效</span>,毕竟谁<span style="color: black;">亦</span>不想学一个<span style="color: black;">无</span>市场的编程语言。</span><span style="color: black;">编程语言的热度<span style="color: black;">亦</span>是市场的一种反应,<span style="color: black;">例如</span> 2015年 <span style="color: black;">由于</span> Andriod 的大爆发,Java <span style="color: black;">成为了</span>年度编程语言;2018 年人工智能大热,Python 直接飙升到排名第三。</span><span style="color: black;"><span style="color: black;">针对</span>一名想要从事编程工作的小白来讲,<span style="color: black;">选取</span>编程语言时最好<span style="color: black;">选取</span>排名比较靠前的,<span style="color: black;">这般</span>不论是学习资料还是工作机会都相对比较多,后面发展的机会<span style="color: black;">亦</span>相对多一点。</span><span style="color: black;"><strong style="color: blue;"><span style="color: black;">参考:</span></strong></span>
<h1 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;">http://www.htmer.com/article/732.htm</span></h1><span style="color: black;">
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">https://www.shukaiming.com/article/55</p>
</span>好看的人<span style="color: black;">才可</span>点<img src="https://mmbiz.qpic.cn/mmbiz_gif/b96CibCt70iaaBAicDNCSs6H0O0SBGSALfnHVryZWUNXAT7Luaia7E90nBw8hhXic1BChibrWdYMCL7RxhPMX0pafichQ/640?tp=webp&wxfrom=5&wx_lazy=1" style="width: 50%; margin-bottom: 20px;">
我深感你的理解与共鸣,愿对话长流。 回顾历史,我们不难发现:无数先辈用鲜血和生命铺就了中华民族复兴的康庄大道。 你的见解真是独到,让我受益匪浅。
页:
[1]