Re:Everything you need (and don't need) to know about PHP's ...
by kyriakos on Sunday July 26, 2020 @10:37AM
(#23957342)
I agree with both statements, it gets shit done but has its rough edges. Its improving though and I doubt there's a perfect programming language out there. At the end of the day what matters are results and how quickly you went from idea to production and PHP is one of the good ones for that matter.
Re:Everything you need (and don't need) to know about PHP's ...
by 87zuhjkas on Tuesday July 28, 2020 @03:21AM
(#23973200)
I think "rough edges" is an understatement. It has serious design flaws and inconsistencies which are probably never going to be fixed due to backwards compatibility. It's like C++ now, tons of language features are added over the years but non of them is able to repair the language, similar to a game of Jenga, the tower will collapse eventually.
But truth be told, the hate is deserved. It never was a particularly efficient language, which might not matter that much, but it was riddled with gotchas, warts and horrible solutions to many technical and social problems.
Today PHP is faster than many alternatives, many of its warts got fixed, but I cannot brush off the fact that it's still based on a poorly-designed base and runtime library.
I'm still using PHP when it makes sense, in the same way I'm still using perl where it makes sense.