[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-internals
Subject:    [PHP-DEV] Re: new overloading feature?
From:       62.245.209.35
Date:       2005-05-14 11:02:34
Message-ID: 20050514110332.68128.qmail () lists ! php ! net
[Download RAW message or body]

Hi,

Justin Hannus wrote:

> My thoughts are:
> 
> 1. Adding to many __methods is ugly.

right

> 2. Interesting subject though. Not to add to the flame but I've seen the
> need for more advanced overloading features in allot of the code I've
> been writing with PHP5. Consider the following example (C++ almost like,
> may slow down the engine but seems like a cleaner idea):

NO. :-)
Overloading operators had been discussed before a lot. Please check the
archives and Steph's nice summaries:
http://www.zend.com/zend/week/week210.php#Heading7
http://www.zend.com/zend/week/week222.php#Heading2

johannes
-- 
Johannes Schlüter                           Mayflower GmbH / ThinkPHP
http://thinkphp.de                            http://blog.thinkphp.de

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic