[UPHPU] Include file namespace collision detection

Jonathan Duncan jonathan at bluesunhosting.com
Mon Oct 29 17:01:51 MDT 2007


On 29 Oct 2007, at 16:51, Joshua Simpson wrote:

>> Why not use classes in the include files and then you can instantiate
>> and use the functions specifically?
>
>
> 1) Because wrapping a class around something that isn't a class to  
> begin
> with is an awful, baby-Jesus-hating hack
> 2) these files already exist.  One of the services we offer clients,  
> besides
> penetration testing, is debugging scaffolding and packages.  I'm  
> looking to
> offer namespace collision detecting for our PHP using clients.
> 3) Did I mention that the baby Jesus hates people who wrap existing
> procedural code into classes?  Well, he does.
>

LOL, good one.  I did not know class wrapping was against my  
religion.  :)

Just refactor that lame procedural code!

hehe



More information about the UPHPU mailing list