2005/5/12, Marcus Boerger <[EMAIL PROTECTED]>:
> Hello Alex,
> 
>   but PHP is a class based langauage which is very much different from

what is a class based language?

> prototype based langauages. Apart from that i already said that it would be
> possible to add a special 'called_self' (or better name) syntax to support
> what you want - only that would slow doen execution even if you won't use
> it. And since what you want is not the correct way of doing it in a class

that is the only correct way to use factories in a dynamic language,
everything else
leads to code duplication and / or crapy code.

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to