news.ycombinator.com
Hacker News
Excerpt
But there are many who have so many battle scars and war stories with the language and its ecosystem that they decided it's just not worth the pain anymore. Even though PHP has evolved (with regular breaking changes...) and tries its best to put something useful on top of a shaky foundation: The effort required to make PHP work with you, in comparison to other languages, becomes too large and painful. I'm not talking about superficial things here, nor do I have the tendency to overengineer stuff, quite the contrary. I'm talking about writing simple, robust and efficient code. … Regarding error handling that’s precisely one of the many issues with php. There are so many ways of doing the same thing that it becomes exhausting. And what many php devs do is they work around these issues either by endless hair splitting debates or a dubious amount of made up design patterns. You shouldn't use php, i am totally against it. I think it’s as bad as it can affect your mental health. Just saying that by comparison to it’s previous versions it has come a long way.
Related Pain Points
High effort required to write robust PHP code due to language design
7PHP's foundational design makes it difficult to write simple, robust, and efficient code compared to other languages, requiring excessive effort and workarounds to achieve basic reliability standards.
Inconsistent error handling approaches across PHP
6PHP offers many different ways to handle errors, creating confusion and exhaustion for developers. This proliferation of approaches leads to endless debates and reliance on dubious design patterns rather than standard solutions.