您的位置 首页 php

理性分析PHP跌出前十

2021年12月份的TIOBE编程语言排行榜中,PHP跌至十二,多年来首次无缘前十。这份榜单一经公布,顿时引起轩然大波。特别是在PHP界,很多小伙伴纷纷表达伤感之情,颇有哀鸿遍野之势。笔者作为PHP的忠实粉丝之一,自然也不能无动于衷。但我想劝大家不要盲目人云亦云,也许你看了下面的分析之后,就不那么悲观失望了。

一、相对不代表绝对

众所周知,TIOBE是以编程语言的热门程度来排名的。为了便于理解,我们可以把其中的Ratings看成市场占有率,而这种占有率其实是相对的,是不仅仅由语言本身的绝对占有量决定的。比如,假设市场上只有PHP和Python,两者的绝对占有量各是100人,那么这两种语言的市场占有率都是50%。过了一段时间以后,假设PHP的绝对占有量还是100人,而Python由原来的100人增长到了300人。这时我们会发现,虽然PHP的绝对占有量并没有下降,但却一下子跌到了25%。现实情况也是如此,PHP在经历了Web发展时期的快速增长之后,市场的绝对占有量已经趋于稳定。而这时由于大数据、云原生、人工智能等领域的快速兴起,相关语言的绝对占有量必然大幅增长,从而导致PHP相对占有率的下降。但我们应客观看到,PHP本身的发展并没有停滞,市场占有的绝对数量也依然庞大,并且拥有一个非常成熟的良好生态!

二、最贵不代表最配

我们日常购物一般提倡只买对的不买贵的,也就是强调性价比。其实编程语言的选择也是如此,因为每种编程语言往往都是在特定背景下为某些特定场景而生的。比如,PHP语言的诞生是源于Rasmus Lerdorf想要更加方便地管理自己的博客,而个人博客的访问量与企业级项目基本是不在一个量级的,所以它的初衷并不是关注性能,而是为了轻量、简单;Java语言的诞生是源于一群志同道合的小伙伴既想改变C语言在指针、内存管理及可移植性上的不足,又想延续C语言的性能优势及语法习惯,所以它的初衷是想鱼和熊掌兼得,并没有考虑随之衍生的庞大和臃肿。所以,对于中小企业的Web项目来说,在访问压力没有达到一定量级的情况下,PHP和Java的性能差距是微乎其微的。而相同功能的开发难度,Java就要比PHP大多了。所以,对于中小企业来说,单纯追求性能的高大上并非上策,唯有最适合、最匹配才是明智之选!

三、热度不代表厚度

当前,面对Java在互联网大厂的主导地位,面对Go在云原生的天然优势,面对Python在人工智能的如鱼得水,我们很容易被这些潮流热度所左右。当然,如果你是刚刚开始面临选择,将编程语言的热门程度作为重要参考也就无可厚非。但是,如果你已经在PHP领域摸爬滚打了几年甚至更长时间,如果不是工作必须,我认为没有必要完全放弃PHP而重新开始。因为人的精力毕竟是有限的,持续专注某一领域往往比广泛涉猎多个领域取得的专业成就更高。说到这里,你可能要说:编程语言都是相通的,有了PHP基础转到别的语言也是很容易上手的!对此,我只能说,任何两种语言之间都是既有共性又有个性的,这个转换过程总归要付出很多学习成本的。所以,如果你已经在PHP领域颇有心得,我的建议是除非不得已,请继续沉淀你的PHP厚度吧!惠新宸不就是个很好的榜样吗?

我们常说,三百六十行,行行出状元。任何时期,所谓的热门和冷门都是相对的。如果你的知识水平毫无建树,那么再热门的领域对你来说也是冷门;如果你的学术见识出类拔萃,那么再冷门的领域对你来说也是热门!最后,用一首古诗与大家共勉:咬定青山不放松,立根原在破岩中;千磨万击还坚劲,任尔东西南北风!

持续分享IT领域原创作品,关注我吧!

理性分析PHP跌出前十

文章来源:智云一二三科技

文章标题:理性分析PHP跌出前十

文章地址:https://www.zhihuclub.com/76452.shtml

关于作者: 智云科技

热门文章

评论已关闭

31条评论

  1. Osteoporosis in men Epidemiology and treatment with denosumab The solution was filtered and the solvent was removed under reduced pressure and the residue purified using silica gel flash column chromatography, eluant CH 2 Cl 2 EtOAc, 4 1

  2. Fondation pour la Recherche MГ©dicale J Production process was optimized using response surface methodology

  3. LuannKelly, I love your nurse manager s approach In addition, the effect of TMX and E2B on estrogen and progesterone receptors ERs and PgRs synthesis has been evaluated in the attempt to elucidate possible mechanisms involved

  4. This is important to understand because it means that you can create the best SARMs stacks that can bulk and cut, without affecting your testosterone levels at all, or only in a minor way We re trying to understand why two perfectly healthy people can be taking the same drug, and one suddenly turns yellow and dies, stated Paul B

  5. Barnsley J, Buckland G, Chan PE, Ong A, Ramos AS, Baxter M, Laskou F, Dennison EM, Cooper C, Patel HP PMID 25957140

  6. Roddy White caught all four of his targets before leaving the game with a hamstring injury Turner, James T

  7. Safety and efficacy of tibolone in breast- cancer patients with vasomotor symptoms a double- blind, randomised, non- inferiority trial

  8. Combined ablation of SREBP1 and SREBP2 induces a transcriptional program indicative of endoplasmic reticulum stress activation

  9. There is concern for systemic conditions such as anaphylaxis or DRESS If you have a serious side effect, contact your in person health care provider immediately

  10. G, Volcano plot shows 60 tissue level parameters of Ca 2 propagation in WT vs CPVT1p and CPVT1e opto MTFs

  11. The naproxen anion has been found in the milk of lactating women at a concentration equivalent to approximately 1 of maximum naproxen concentration in plasma Monitor Closely 2 clarithromycin will increase the level or effect of lapatinib by P glycoprotein MDR1 efflux transporter

  12. 54, I 2 95; three studies, 199 participants; systolic blood pressure MD 5 More data is needed in this area

  13. s no reason to fret about that decrease just yet, economists are keeping their eyes on those factors to determine just how much they will shape the housing recovery in the second half of 2013 Rnd2 Tg mice exhibit a phenotype opposite that of Rnd2 knockout mice

  14. Cardio oncology pharmacokinetics and pharmacodynamic drug interactions Two studies reported an increasing risk of an unfavourable outcome per hour delay

  15. The direct correlation between diuretic dose and net fluid output was also moderate Penn r 2 0 If you are not underweight, your best boron choice by far is AlgaeCal Plus because it will provide you with all the key nutrients your bones require to healthfully rebuild and maintain themselves at the dosages shown in the research to be effective including 3 milligrams of boron

  16. Hence, it is reasonable to suggest that a single dose of NTZ at 75 mg kg or 150 mg kg results in reduced shedding of cysts when compared to febantel

  17. Evidence of a possible UTI includes an abnormal finding upon microscopic urinalysis, showing pyuria of 10 WBCs hpf or more WBCs than RBCs, bacteriuria, fever, or unexplained leukocytosis

  18. Hey there superb blog! Does running a blog similar to this require a lot of work?

    I’ve very little expertise in coding however I was hoping
    to start my own blog in the near future. Anyway, if you have any recommendations
    or techniques for new blog owners please share.
    I know this is off subject however I simply had to ask.
    Thanks!

网站地图