by Anonymous Coward writes:
on Monday March 23, 2015 @03:22PM (#49322663)
after years as the target of criticism, the PHP computer programming language is seeing a revival
PHP has a really bad reputation, probably well-deserved. I don't know if it can overcome that at this point. Even Wikipedia's transitioning from PHP to Lua.
That post is about enhancing their wiki code templating language, not switching away from PHP. The only thing they're switching is to HHVM, which is still PHP code.
after years as the target of criticism, the PHP computer programming language is seeing a revival
PHP has a really bad reputation, probably well-deserved. I don't know if it can overcome that at this point.
It can be implemented well. I have seen it. The trouble arises when folks insist on over-engineering their PHP solution. I won't mention the photo project, but one time I was looking for the value of a variable. After days of grepping and sifting through thousands of lines of code, I found out that this variable was nothing but a constant in a very deeply embedded class structure. Why they created this whole class and derivatives just to set a constant, I can only guess that they freebased the OOP Kool-Aid.
after years as the target of criticism, the PHP computer programming language is seeing a revival
PHP has a really bad reputation, probably well-deserved. I don't know if it can overcome that at this point.
It can be implemented well. I have seen it. The trouble arises when folks insist on over-engineering their PHP solution. I won't mention the photo project, but one time I was looking for the value of a variable. After days of grepping and sifting through thousands of lines of code, I found out that this variable was nothing but a constant in a very deeply embedded class structure. Why they created this whole class and derivatives just to set a constant, I can only guess that they freebased the OOP Kool-Aid.
I don't give a shit what your CS prof says, there is nothing wrong with defines. Or 'goto's for that matter. There's nothing more annoying than a method/function that's hundreds of lines long just because the programmer didn't want to use a 'goto'.
If your function is hundreds of lines long just because you didn't use a goto, you're still doing it wrong.
I've never seen PHP in decline at all. People still rolling out Wikimedia Wiki's and Wordpress sites like there's no tomorrow.
A lot of BS about PHP comes from developers of more OOP/MVC coding designs using Ruby on Rails, where as I think Ruby on Rails is a mess.
PHP lets developers do what they want to do, if that means combining html and a pile of includes to use it as an efficient SSI, so let them. That's what it's really good for.
What PHP is really bad for is beginner developers who put stuff on the
PHP has earned all the scorn it gets and than some.
It is developed by amatuers, for amatuers.
I am glad it exists because its exsistence on a resume gets it deleted with prejeduce.
Sure there might be one or two programmers worth hiring with PHP on their resume, but I would rather miss those two than have to deal with 100,000 PHP cretins to find them
The reason why worry kills more people than work is that more people
worry than work.
Too little too late (Score:-1, Flamebait)
after years as the target of criticism, the PHP computer programming language is seeing a revival
PHP has a really bad reputation, probably well-deserved. I don't know if it can overcome that at this point.
Even Wikipedia's transitioning from PHP to Lua.
Re: (Score:1)
Even Wikipedia's transitioning from PHP to Lua.
[citation needed]
Re: (Score:1)
Re: (Score:2)
http://blog.wikimedia.org/2014... [wikimedia.org]
Yes. (Score:0)
after years as the target of criticism, the PHP computer programming language is seeing a revival
PHP has a really bad reputation, probably well-deserved. I don't know if it can overcome that at this point.
It can be implemented well. I have seen it. The trouble arises when folks insist on over-engineering their PHP solution. I won't mention the photo project, but one time I was looking for the value of a variable. After days of grepping and sifting through thousands of lines of code, I found out that this variable was nothing but a constant in a very deeply embedded class structure. Why they created this whole class and derivatives just to set a constant, I can only guess that they freebased the OOP Kool-Aid.
Re:Yes. (Score:4, Insightful)
after years as the target of criticism, the PHP computer programming language is seeing a revival
PHP has a really bad reputation, probably well-deserved. I don't know if it can overcome that at this point.
It can be implemented well. I have seen it. The trouble arises when folks insist on over-engineering their PHP solution. I won't mention the photo project, but one time I was looking for the value of a variable. After days of grepping and sifting through thousands of lines of code, I found out that this variable was nothing but a constant in a very deeply embedded class structure. Why they created this whole class and derivatives just to set a constant, I can only guess that they freebased the OOP Kool-Aid.
I don't give a shit what your CS prof says, there is nothing wrong with defines. Or 'goto's for that matter. There's nothing more annoying than a method/function that's hundreds of lines long just because the programmer didn't want to use a 'goto'.
If your function is hundreds of lines long just because you didn't use a goto, you're still doing it wrong.
Re: (Score:0)
ORLY?
I've never seen PHP in decline at all. People still rolling out Wikimedia Wiki's and Wordpress sites like there's no tomorrow.
A lot of BS about PHP comes from developers of more OOP/MVC coding designs using Ruby on Rails, where as I think Ruby on Rails is a mess.
PHP lets developers do what they want to do, if that means combining html and a pile of includes to use it as an efficient SSI, so let them. That's what it's really good for.
What PHP is really bad for is beginner developers who put stuff on the
Re: (Score:1)
A lot of BS about PHP comes from developers of more OOP/MVC coding designs using Ruby on Rails, where as I think Ruby on Rails is a mess.
look at the mess calling the mess a mess!
Re: (Score:0)
PHP has earned all the scorn it gets and than some.
It is developed by amatuers, for amatuers.
I am glad it exists because its exsistence on a resume gets it deleted with prejeduce.
Sure there might be one or two programmers worth hiring with PHP on their resume, but I would rather miss those two than have to deal with 100,000 PHP cretins to find them