Re: RFC: Anonymous Classes
| From: | Michael Wallner | Date: | Mon, 23 Sep 2013 09:03:47 +0000 |
| Subject: | Re: RFC: Anonymous Classes | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-69265@lists.php.net to get a copy of this message | ||
On 23 September 2013 11:00, Michael Wallner <mike@php.net> wrote:
> On 23 September 2013 10:39, Rasmus Lerdorf <rasmus@lerdorf.com> wrote:
>> On 09/22/2013 11:39 PM, Joe Watkins wrote:
>>> https://wiki.php.net/rfc/anonymous_classes
>>>
>>> I'd like to hear thoughts regarding the addition of anonymous
>>> classes, patch included.
>>
>> I am having a hard time picturing a real-world use-case for this.
>
> It is a widely used pattern in object oriented programming:
... where you code against interfaces (was supposed to follow that words :))
Sorry.
--
Regards,
Mike