Home Backend Development PHP Tutorial 小弟我做PHP,但是小弟我要批判下整天唱衰.NET的淫

小弟我做PHP,但是小弟我要批判下整天唱衰.NET的淫

Jun 13, 2016 pm 12:28 PM
java nbsp net php windows

我做PHP,但是我要批判下整天唱衰.NET的淫

笔者每天都能看到月经贴-".NET已死"!!!

笔者之前一直在CSDN上面写博客,泡论坛,但是有约莫一年来着了发现CSDN上面的博客都没啥更新,CSDN首页推荐的一些文章也没啥新意,渐渐的就转到博客园上面了。

但是笔者用了半年的博客园以后发现一件诡异的事情,里面最热门的,一搞上首页的都是".NET已死"或者".NET离死不远"...

然后下面就是一堆评论,大多都是挺.NET或者骂作者,或者讽刺JAVA的评论,无数条...

笔者默默兴庆,还好么有骂PHP是脚本语言,拍黄片专用(因为笔者一直致力于LAMP/LNMP平台)

笔者十分纳闷,".NET已死"关JAVA卵事?为啥每次都要和JAVA拿来对比?

 

笔者十分好奇,然后就去学习了java和c#, 笔者对比了工作中使用C语言、javascript、PHP , 感觉两个语言神似,连对象的操作符都用".", 有时笔者忘记了java中String,StringBuffer相关方面的用法,阅读下C#的文档,竟然直接都用到java上面去了。同时感觉C#如同java的改进版,规范了命名,规范了写法。到这里,笔者虽然不是十分精通C#和JAVA, 但是笔者对.NET和JAVA直接的各种争端也算是了解的十有八九了。

原来,C#和JAVA的功能都是十分相似的,C#能做的java也能做(这里不要嘲笑笔者,.NET是平台,不仅仅只有C#可以做,但是笔者知道目前还是C#用的多)。但是了目前java相对.NET比较火,因此笔者猜想是.NET产生了嫉妒仇恨的心理,抢了别人的生意,肯定不爽啥!!!肯定是要骂啥!!!

 

笔者作为局外人,但是脑子却比做.NET的同学清醒,语言就是语言,工具而已,又没范啥错误,何必在用那个上面较真,更为甚者还互相谩骂。

干啥事用啥工具,难道放着简单实用的不用,非去整情怀,净整复杂的冷门的去整?

笔者算是PHP开发人员,笔者想要弄个Windows端的学习软件给自己小孩玩,难道笔者放着简单图形界面齐全的C#不用,非把PHP改造一番弄个客户端软件出来?

笔者算是PHP开发人员,笔者想要开发个安卓小游戏给小孩玩,难道笔者放着类库齐全的java不用,非把PHP改造一番再整个APP出来?

 

笔者觉得java和C#都各有各的用处,特殊情况下都得用,没有那个好那个坏。

.NET平台没落,不是语言的问题,不是java的问题,而是整个生态圈的问题。

许多年前,兴起了一阵开源、跨平台风,但是当时.NET还是坚持windows平台,那时好多身边的朋友嘲笑我们开源能挣钱吗,微软这么大,产品这么多,开啥源,我们就靠着微软,这辈子吃喝不愁。

但是风云变幻,现在开源,跨平台成为主流,微软已经意识到了,也进行了亡羊补牢,但是话说先入者为主,奈何改变不了世人的固定思维。

还有就是现在B/S端应用、移动应用盛行,往往用到不止一个软件,一门技术。好比笔者开发网站,不仅有PHP,还有Linux,nginx, MySQL, Varnish, Redis, MongoDB,JS,CSS,HTML等,那么好了,由于微软当时不开源,许多服务器端软件都不支持windows, 或者windows上面不能发挥全部功能,比如笔者使用PHP,windows上面也能运行,但是好多类库不支持,至于Varnish windows平台貌似都无法安装。笔者要提高网站性能,需要用到好多辅助软件,笔者选择了windows,然后要么不支持要么无法发挥完全性能,笔者想爱,但是微软让笔者爱不起来。好比大家买个WP手机,着实高兴了一把,某天你想用滴滴打车,然后搜遍应用商店,都找不着,为此给你的生活带了十二分的不便,大家还把WP当做宝吗?

 

还有一个事就是世人都喜欢用免费的,试想大家看笔者这篇文章都要要钱,大家还会来看吗?

windows那套,都需要授权,都需要给钱。要是某天大家去创业了,人马还没有筹齐,都被这高昂的授权费给难住了,你还用吗?

 

慢慢的,慢慢的,大家都知道微软这里的内情,大家都会躲避他,躲避的人多了,支持的软件就少了,软件少了成熟稳定的技术就少了,慢慢的,慢慢的,恶性循环,.NET就死了...

 

所以,.NET和JAVA的仇恨,不在于这两个语言,而在于这两个语言背后的平台,在于这两个语言背后的生态圈。

一个windows, 一个linux

一个不开源,一个开源

一个收费,一个免费

一个附带软件稀少,一个附带软件丰富

...

 

希望大家以后不要将.NET之死,归咎于JAVA                          ----一个PHP开发者的忠言

 

Re: [水amp;月]坟
@八面碰壁居士,不需要什么论点,做一样事的俩个东西有替换性,当一个大了的话,另外一个自然会获取些份额。,,inter那么牛,amd也能活着。诺基亚再厉害也弄不死摩托罗拉;windows再强也没掐死linux。反而是其他技术的革命容易把这些连根拔起。,,苹果出来后,连当老大的诺基亚市场份额都小的可怜,那摩托罗拉还能活吗?,移动发展后,inter都陷入困境,amd就更加半死不活了。杀死.net不会是java语言,而是一个时代。但是如果这个时代已经杀死.net,我相信java也不会好过多少。
4楼Amonk
天天弄这些逼东西有用吗 天天吵.net和java 老子他妈的也是醉了 真他妈的吃饱了没事干
3楼黑曜石
同时感觉C#如同java的改进版,规范了命名,规范了写法。,曾经写过一些android,看法一样。,感觉用什么无所谓,能达到目的就OK。,当然,用了快十年的.net了,只想任性的说一句,苹果无爱,微软就是牛比。。。
Re: 八面碰壁居士
@黑曜石,引用同时感觉C#如同java的改进版,规范了命名,规范了写法。,曾经写过一些android,看法一样。,感觉用什么无所谓,能达到目的就OK。,当然,用了快十年的.net了,只想任性的说一句,苹果无爱,微软就是牛比。。。,哎,情怀害死淫!!!
2楼ahdung
MS要死可以,请把c#留下,多么优美的语言,真的写惯了C#,看其他语言就像屎一样看哪哪不顺眼。目测要挨喷
Re: 絕對零度
@ahdung,引用MS要死可以,请把c#留下,多么优美的语言,真的写惯了C#,看其他语言就像屎一样看哪哪不顺眼。目测要挨喷,java就是一柁屎啊,尽管我二个语言都在用,但对java无爱!
Re: 碎景
@ahdung,引用MS要死可以,请把c#留下,多么优美的语言,真的写惯了C#,看其他语言就像屎一样看哪哪不顺眼。目测要挨喷,其实是java太烂,其他语言比如python,js都不比c# 差,,,ruby,scala,f#更是比c#强,但讽刺的是,这些反而更冷门.
1楼ksjr
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

PHP and Python: Different Paradigms Explained PHP and Python: Different Paradigms Explained Apr 18, 2025 am 12:26 AM

PHP is mainly procedural programming, but also supports object-oriented programming (OOP); Python supports a variety of paradigms, including OOP, functional and procedural programming. PHP is suitable for web development, and Python is suitable for a variety of applications such as data analysis and machine learning.

Choosing Between PHP and Python: A Guide Choosing Between PHP and Python: A Guide Apr 18, 2025 am 12:24 AM

PHP is suitable for web development and rapid prototyping, and Python is suitable for data science and machine learning. 1.PHP is used for dynamic web development, with simple syntax and suitable for rapid development. 2. Python has concise syntax, is suitable for multiple fields, and has a strong library ecosystem.

Why Use PHP? Advantages and Benefits Explained Why Use PHP? Advantages and Benefits Explained Apr 16, 2025 am 12:16 AM

The core benefits of PHP include ease of learning, strong web development support, rich libraries and frameworks, high performance and scalability, cross-platform compatibility, and cost-effectiveness. 1) Easy to learn and use, suitable for beginners; 2) Good integration with web servers and supports multiple databases; 3) Have powerful frameworks such as Laravel; 4) High performance can be achieved through optimization; 5) Support multiple operating systems; 6) Open source to reduce development costs.

PHP and Python: A Deep Dive into Their History PHP and Python: A Deep Dive into Their History Apr 18, 2025 am 12:25 AM

PHP originated in 1994 and was developed by RasmusLerdorf. It was originally used to track website visitors and gradually evolved into a server-side scripting language and was widely used in web development. Python was developed by Guidovan Rossum in the late 1980s and was first released in 1991. It emphasizes code readability and simplicity, and is suitable for scientific computing, data analysis and other fields.

PHP: An Introduction to the Server-Side Scripting Language PHP: An Introduction to the Server-Side Scripting Language Apr 16, 2025 am 12:18 AM

PHP is a server-side scripting language used for dynamic web development and server-side applications. 1.PHP is an interpreted language that does not require compilation and is suitable for rapid development. 2. PHP code is embedded in HTML, making it easy to develop web pages. 3. PHP processes server-side logic, generates HTML output, and supports user interaction and data processing. 4. PHP can interact with the database, process form submission, and execute server-side tasks.

PHP vs. Python: Use Cases and Applications PHP vs. Python: Use Cases and Applications Apr 17, 2025 am 12:23 AM

PHP is suitable for web development and content management systems, and Python is suitable for data science, machine learning and automation scripts. 1.PHP performs well in building fast and scalable websites and applications and is commonly used in CMS such as WordPress. 2. Python has performed outstandingly in the fields of data science and machine learning, with rich libraries such as NumPy and TensorFlow.

PHP and the Web: Exploring its Long-Term Impact PHP and the Web: Exploring its Long-Term Impact Apr 16, 2025 am 12:17 AM

PHP has shaped the network over the past few decades and will continue to play an important role in web development. 1) PHP originated in 1994 and has become the first choice for developers due to its ease of use and seamless integration with MySQL. 2) Its core functions include generating dynamic content and integrating with the database, allowing the website to be updated in real time and displayed in personalized manner. 3) The wide application and ecosystem of PHP have driven its long-term impact, but it also faces version updates and security challenges. 4) Performance improvements in recent years, such as the release of PHP7, enable it to compete with modern languages. 5) In the future, PHP needs to deal with new challenges such as containerization and microservices, but its flexibility and active community make it adaptable.

PHP's Impact: Web Development and Beyond PHP's Impact: Web Development and Beyond Apr 18, 2025 am 12:10 AM

PHPhassignificantlyimpactedwebdevelopmentandextendsbeyondit.1)ItpowersmajorplatformslikeWordPressandexcelsindatabaseinteractions.2)PHP'sadaptabilityallowsittoscaleforlargeapplicationsusingframeworkslikeLaravel.3)Beyondweb,PHPisusedincommand-linescrip

See all articles