[UPHPU] Is OOP really bad in PHP?

Sean sean at lookin3d.com
Wed May 14 15:09:09 MDT 2008


Scott Hill wrote:
> Shouldn't we really be looking at the results of his code?  It's 
> difficult for me to judge a person based on their code.  I mean, if it 
> works, isn't that enough?  As a C++ programmer, my performance is 
> judged by whether the program I wrote works and follows specs and is 
> done on time (or within a reasonable time period).  The people who 
> control my financial destiny here at work could give a bleep less what 
> my code looks like or how it is organized.  With PHP shouldn't we be 
> looking at the web site or web app to determine whether or not it is 
> good?  I know it's different if you are on the unpleasant end of 
> cleaning up someone else's mess but since most programmers evolve and 
> improve with time, it seems that we should give everyone the benefit 
> of the doubt.  I would hate to have to even look at code that I wrote 
> 20 years ago (the computer systems that ran that code don't even exist 
> any more).  It would probably look like crap to me now.  However, 
> since I am still gainfully employed, I have to assume that none of the 
> employers I have worked for (including myself) ever took that old code 
> into consideration.  Like I said, it's very frustrating to have to 
> work with code that we're "not used to".  But we can look forward with 
> the hope that they have improved even if the improvement is only in 
> their own minds
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



More information about the UPHPU mailing list