yuk php!

I'm probably going to get hate mail for this one, but why would any one choose to use the php language?
For the last few weeks I've been trying to adjust and failing. We have deiced to use php as the language for our latest portal project.
That in it's self was kind of an choice, up until now we have been a perl and C shop, but now with just 5 weeks to complete the first version on this portal site, we decide to use php, a language which only 1 of us had any experience in.
Now I can see the reasons for not sticking with our existing perl/XSLT template system, the actual design is not being done in house so all we got where the HTML and CCS files. With the current templating system the HTML would be to be made in to XSL style sheets, which could be a lot of work. With php or some other system, we can just put the code directly in the html page. But why did we go for php when there is a perl solution, Mason which would do the same thing?
Okay, it's true none of us had any experience with that particular bit of perl, but at least we all would have started by knowing the base language.
But this brings me on to my main point, why would any one choose to use php? It's awful (in my opinion).
Okay, okay, so I didn't want to use php and yes it looks very much like perl and so I keep on prefixing variables with my, so I'm probably biassed here, but I don't like php.
The language is huge, everything seems to be done inside the main language it's self, unlike perl which keeps a small-ish set of basic commands in the language it's self and then uses (pun unavoidable!) modules to do any thing (and I do mean any thing) else. It must be a nightmare to maintain. But I shouldn't worrying about that,I hear you say, I only need to worry about using the dam thing.
Yes I know, but it just seems to me that the code I'm writing in php just isn't...well beautiful. It just looks wrong. And yes some, maybe even a lot of my perl code is not what you could call beautiful, but...
Okay this is degenerating in to an anti php rant, so I'd best leave it, there, but I've got to say just one thing
Perl is better than php! (let the flames begin).
|