Posted by gosha bine on 08/29/07 20:37
ZeldorBlat wrote:
> On Aug 29, 4:06 am, gosha bine <stereof...@gmail.com> wrote:
>> autoload is rather a dirty hack and as such should be avoided.
>>
>
> Why do so many people say this? autoload does exactly what it was
> intended to do and it works perfectly. It solved a major problem that
> people had complained about for a long time. Would you care to
> elaborate on your objections to using it?
>
autoload is a "magic quotes"-type of solution to me: it attempts to
solve the real problem, but at the wrong place and in the wrong way.
Besides that, it's "magic" (which stinks like hell) and it's global
(which stinks even more).
We don't need yet another stinky "magic" quick fix in php. We do need a
decent packaging system and the catchable ClassNotFound exception.
--
gosha bine
extended php parser ~ http://code.google.com/p/pihipi
blok ~ http://www.tagarga.com/blok
[Back to original message]
|