Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't get it. Why people can't just admit the fact that PHP had his time and now, no one with common sense would not start new project (except simple wordpress stuff) in PHP.


In most enterprise environments, you have your choice between .NET and PHP. Given the option, I'll take PHP, thanks.


Twitter's code is "enterprise" code in that it has to satisfy the organization's needs and a huge part of it is not user-facing, but targeting other enterprises (for example, Twitter ads). At Twitter, we use Scala.

So, no, you're not necessarily stuck between these two options (or Java, which is another popular choice in the enterprise scene). Scala was chosen specifically, among other things, because Twitter had a lot of Ruby developers who would cringe at the idea of PHP, Java, or .NET.


Twitter is not what he meant by "enterprise." You work at a tech company. Enterprise connotes big corporate IT department software development.


Most enterprise environments would not touch php with a barge poll. More likely C# vs Java.

Besides a nice modern languages vs PHP. I know what I would choose.


What wrong if combine in enterprise environment. Php + Java.. E.g jasper report printing. Php + Microsoft Excel(vb macro) E.g making reporting direct from excel


Nokia uses Java + php (internally for cms kinda stuff)


Wrong. You have a choice between .NET and Java.


You're in the wrong "enterprise" environments.

PHP as a choice for an enterprise? Jesus. Could somebody show me a 2-3 year old PHP project which doesnt have code rot? To even speak of 5 year old code that is still readable and somewhat maintainable.

Java is where its at for the enterprise.


every language matured.. same as java.. it up to developer to create nasty code.. About the nasty,enterprise always fall back to lot of idea,changes. So we make lot of junk function/method,class which not proper cleanup after user acceptance test.


Facebook, blogs and open source enterprise CMS would disagree with you.


Facebook doesn't even use PHP anymore, they switch to their own implementation of PHP called Hack to runs on HHVM. So no, they don't use PHP per se for anything this days.

http://www.infoq.com/interviews/adams-php-facebook


They're very much using PHP (the language) ...they just made their own runtime. They still sit down and write PHP. They don't sit down and write HHVM code.

That's like saying a company no longer uses Ruby because they use JRuby now.


In the video on that page he specifically says that if you're writing software at Facebook you're probably doing it in PHP or C++.


> no one with common sense would not start new project (except simple wordpress stuff) in PHP.

Is that really what you meant?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: