[UPHPU] Is OOP really bad in PHP?
Beau Scott
beau.scott at gmail.com
Wed May 14 15:50:30 MDT 2008
>> I myself have done many sites, and very rarely use abstract and
interfaces
Exactly. The beauty of PHP is that if you wanted to make a highly
architected, well defined application that is easy to maintain, read, etc.,
you can. It gives you that ability.
But if you're on a time crunch and have to "hack" out a site in short notice
and don't care to make it maintainable (perhaps it's a short lived
promotional site, etc.), you can do that, too. Most often, I'd wager, sites
fall somewhere in between these two categories.
And I think the measure of a good PHP developer is his/her ability to just
that: determine the architectural need for the project and code it
accordingly. Whether the site uses OOP or not isn't a good metric for
programming aptitude.
Granted he did have some good generic guidelines that should be followed no
matter what aspect you take (like SQL injection protection) -- and that does
weigh on my opinion of any developer, PHP or not.
Beau
-----Original Message-----
From: uphpu-bounces at uphpu.org [mailto:uphpu-bounces at uphpu.org] On Behalf Of
Sean
Sent: Wednesday, May 14, 2008 3:09 PM
To: UPHPU General Discussion
Subject: Re: [UPHPU] Is OOP really bad in PHP?
I agree for the most part, I myself hate looking at my old code as well,
but you also gotta remember that how the code looks/is written will
affect the outcome/security/speed of the result. If the guy doesn't
understand that sub-eclipse is not a version control system, then I
highly doubt he has anything let alone 40 things to describe a lousy
programmer, I would define anybody who tells you not to overuse oop, but
in the same breathe tells you to use abstract/interfaces whenever you
can fit them in, as a lousy programmer, I myself have done many sites,
and very rarely use abstract and interfaces...
IMHO
--
Sean Thayne,
Exit12
_______________________________________________
UPHPU mailing list
UPHPU at uphpu.org
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net
No virus found in this incoming message.
Checked by AVG.
Version: 7.5.524 / Virus Database: 269.23.16/1432 - Release Date: 5/14/2008
7:49 AM
No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.524 / Virus Database: 269.23.16/1432 - Release Date: 5/14/2008
7:49 AM
More information about the UPHPU
mailing list