Well, that's not a big shock
php takes object oriented, functional, and imperative paradigms and combines the worst of all three worlds.
|
|
How so?
I know PHP lets you get away with a lot of sloppiness, but what do you mean about the worst of each paradigm?
--
Drew |
|
Well, indirectly quoting an old prof of mine
though he was talking about java... takes interpreted and compiled approaches and combines the worst features of both: slow running code and a slow dev cycle.
The big thing with php is that it makes maintaining a program you've never seen before really hard, because you have to spend a lot of time asking yourself "is this imperative? OO? What the fuck was that guy doing there?" |
|
no, disagree
the only part you need to think about is
"What the fuck was that guy doing there?" mod it, run it, clean it up |
|
Hmm, not sure
Slow running is mostly a non-issue for me, since I finally got WP SuperCache working right. Whenever I post a new article, or someone comments, the relevant pages are regenerated. Everyone after that gets served a static, compressed page.
As for development time, first versions are fast as hell, with incredibly low overhead compared to Java. (Yes, you can write lightweight Java without a framework, but I've never seen anyone do it.) I completely agree that maintenance is important enough to disqualify a language or technique if it makes it hard to maintain. But if it's written well, you don't have to question what it's doing. The corollary is that if you have to question what it's doing, the first version wasn't written well and needs to be refactored. --
Drew |
|
Re: maintenance mode
Yeah... tell me something I don't know ; The guy who wrote a lot of this stuff was on drugs or something.
|
|
Don't think you can plame PHP for that :-)
--
Drew |
|
That's a rather negative viewpoint.
Most things people perceive to be problems about PHP aren't, in practice, problems to those busy using it. :-)
The biggest problem with PHP is that too many medoicre (or just plain bad) programmers are using it. Wade. Q:Is it proper to eat cheeseburgers with your fingers? A:No, the fingers should be eaten separately. |
|
s/PHP/any programming language
--
Drew |
|
Well, yes.
It's just that for some it's more of a problem. Plus the fact that PHP gets picked on.
Wade. Q:Is it proper to eat cheeseburgers with your fingers? A:No, the fingers should be eaten separately. |
|
There's a line I remember from back before PHP won*
The biggest problem with PHP is it's easy enough for any old idiot to use it. The really brainless ones can't even do a "Hello World" in c.
* And yes, it won. WordPress and Facebook. --
Drew |
|
Indeed.
http://stackoverflow...ble/316061#316061
Basically, one of the greatest advantages of PHP is that it doesn't force you into a framework. Unfortunately, one of the greatest disadvantages of PHP is that it doesn't force you into a framework. :-/ Wade. Q:Is it proper to eat cheeseburgers with your fingers? A:No, the fingers should be eaten separately. |
|
And you can be in and out of a framework at the same time
WordPress is one gigantic framework. If you want to write something small and self-contained within it, you still can. You probably shouldn't, but it's possible.
--
Drew |