Re: Feature-Request - Macros

From: Date: Mon, 20 Nov 2006 18:52:24 +0000
Subject: Re: Feature-Request - Macros
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-26671@lists.php.net to get a copy of this message
On Wed, November 15, 2006 2:59 pm, Mathias Bank wrote: > Richard Lynch schrieb: >> On Mon, November 13, 2006 4:42 am, Mathias Bank wrote: >>> As you see, with this macro functions, it could be achieved any >>> individual syntax. It would be a pleasure, if php could support it. >>> It >>> could shorten a lot of code. >> >> It sounds like you could submit a patch and get it in... :-) >> >> While you are at it, if you want to dump the java-like OOP and put >> in >> all of CLOS, go for it :-) :-) :-) >> > > Well, I have never said, that this is easy. But instead of telling > "no" > to ideas like ifsetor operator (or something else), we could say: > "well > no: there will be a general solution". And this solution must not be > invented, it "just" has to be integrated - we can look at lisp and how > it is implemented there. Of course this is no job for a week or a > month > (so surely not for php 6). I published this feature request to discuss > the idea with you php developers because you should know it best, if > it > is possible and if there are ways, to achieve this (and what are the > ways). > > So, there is no reason to be cynical. Cynicism was not intended at all. Well, okay, the "all of CLOS" bit was maybe jokingly cynical. But I'm absolutely serious that there seems to be support for the lisp-like macros, so start working on a patch and submit it. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?

« previous php.internals (#26671) next »