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

My comment was not meant to be demeaning, sorry if this was not clear. I used PHP 4 and it was okey, albeit pretty inconsistent. However, programming languages are a very competitive space. It is extremely expensive to keep them and their ecosystem alive. My sense is that, unless a language keeps up, it will go down. Not in the sense that it will disappear overnight, just less favoured every time a Greenfield project starts.

My subjective analysis is that each language has a niche that if fills nicely: - C - no BS, no runtime, close to hardware. - C++ - a bit further from the hardware, a bit closer to the developer. - Python - glue the two above with few lines of code. Go-to language for "data pipelines". - NodeJS - one code, can run both in the browser and on the server. Go-to language for web development. - Java - one syntax, runs both on Android and on servers.

- C# and Go - vendor-evangelised languages. Supported by huge vendors and their network of partners. - COBOL - too big to fail :))

I honestly don't get what niche PHP fills. Why would anyone choose PHP over another language? Developer pool? Ecosystem of libraries? Evangelized by a vendor? Front-runner in new concepts? Too big to fail?



Because the vast majority of problems are trivial. And a trivial problem demands a trivial solution.

PHP offers a development paradigm second to none. Drop a single file into a single directory and hit f5. Problem solved. Next.

Which language above can do that?


Well ... both Flask (Python) and Express with Nodemon (NodeJS) can do hot reload.


No doubt. I'm not trying disparage other options.

My point is that PHP literally only requires a single file to work. No cli commands. No 3rd-party packages. No configuration files. Just PHP.




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

Search: