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

No matter what PHP project I worked on, it was always a mess. Unreadable mess of HTML, PHP and SQL all of them intermixed in one file. Instead of templates, there's a line of PHP, line of HTML, line of PHP again. Instead of using SQL placeholders, there's usually string interpolation. Lots of copy paste, I've seen a commercial PHP project, that was sold for around ~200 EUR, that had almost no functions: every repeating part of functionality was copy pasted 3-10 times.

All the PHP projects I've seen, eventually failed and had to be rewritten in another language. It was impossible to add new features and fix bugs in such a code. For example, if the original code uses copy paste instead of functions (and it is very often the case for PHP code), you'd have to fix every bug 3-5 times (most of the time, you fix it in one place and only after deployment realize, that the bug still manifests itself in 2-4 other places).

Yeah, maybe PHP is very easy to write and deploy, but this simplicity somehow makes bad programmer out of the person writing in PHP. I know, it's very subjective, but I had such a negative experience that I gave myself a promise to avoid PHP related jobs at all costs.

Also, maybe it was slightly more difficult to use other languages for web development 20 years ago. You'd have to use CGI, or set up some mod_python with all of its quirks, but those times are long gone. It's almost as easy now to develop/deploy Web apps in any other language.



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: