Re: [PHP-DEV] [RFC] Importing namespaced functions

2013-08-15 Thread Marcello Duarte
Hi, Are there any thoughts regarding importing multiple functions of a namespace with a wildcard? A use case being, for example, assertions from a testing framework. use (or use function) TestingFramework\Assertions\; // in java * is used for wildcard Regards, Marcello On 15 Aug 2013, at 14:

Re: [PHP-DEV] Abstract properties

2013-03-18 Thread Marcello Duarte
On 1 Dec 2012, at 12:34, Sebastian Krebs wrote: > Hi, > > Don't want to start a big discussion, but is there a concrete reason, why > abstract properties (or "a kind of abstract") are not supported? Hi, The reason for not having abstract properties is that when you are defining a type you don'

Re: [PHP-DEV] [RFC] Short syntax for anonymous functions

2013-02-19 Thread Marcello Duarte
On 19 Feb 2013, at 17:32, Leigh wrote: > > On 19 February 2013 16:46, Marcello Duarte wrote: > I find that more and more my developers have to learn ruby just to be able to > work in our projects. We are one of the largest PHP shops in Europe and even > the proprietary tools

Re: [PHP-DEV] [RFC] Short syntax for anonymous functions

2013-02-19 Thread Marcello Duarte
ore readable, or maintainable. Please understand that there is a difference between code you write and other people maintain, and code you write for other people to use. The purpose of this feature is focused on the later, to allow the construction of DSLs, so users of your code can focus on the task at hand. -- Marcello Duarte -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [RFC] Short syntax for anonymous functions

2013-02-19 Thread Marcello Duarte
>> >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> > > > -- > Best regards, Andrey -- Marcello Duarte marcello.dua...@gmail.com http://marcelloduarte.net -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [RFC] Short syntax for anonymous functions

2013-02-19 Thread Marcello Duarte
2013, at 13:19, Derick Rethans wrote: > On Tue, 19 Feb 2013, Marcello Duarte wrote: > >> Inspired by Sara, here is another RFC, I finally got around to draft: >> >> https://wiki.php.net/rfc/short-syntax-for-anonymous-function > > I'd be really relu

[PHP-DEV] [RFC] Short syntax for anonymous functions

2013-02-19 Thread Marcello Duarte
Inspired by Sara, here is another RFC, I finally got around to draft: https://wiki.php.net/rfc/short-syntax-for-anonymous-function Please feedback, -- Marcello Duarte

Re: [PHP-DEV] Wiki account

2012-10-18 Thread Marcello Duarte
On 18 Oct 2012, at 09:37, Derick Rethans wrote: > Marcello Duarte wrote: > >> On 18 Oct 2012, at 09:13, Hannes Magnusson wrote: >> >>> On Thu, Oct 18, 2012 at 1:08 AM, Marcello Duarte >>> wrote: >>>> On 18 Oct 2012, at 02:20, Hannes Magnusson wr

Re: [PHP-DEV] Wiki account

2012-10-18 Thread Marcello Duarte
On 18 Oct 2012, at 09:13, Hannes Magnusson wrote: > On Thu, Oct 18, 2012 at 1:08 AM, Marcello Duarte > wrote: >> On 18 Oct 2012, at 02:20, Hannes Magnusson wrote: >> >>> On Wed, Oct 17, 2012 at 2:49 AM, Pierre Joye wrote: >>>> Marcello likes to write a RF

Re: [PHP-DEV] Wiki account

2012-10-18 Thread Marcello Duarte
On 18 Oct 2012, at 02:20, Hannes Magnusson wrote: > On Wed, Oct 17, 2012 at 2:49 AM, Pierre Joye wrote: >> Marcello likes to write a RFC >> >> On Wed, Oct 17, 2012 at 11:28 AM, Marcello Duarte >> wrote: >>> Hi, >>> >>> Can I please have a

[PHP-DEV] Wiki account

2012-10-17 Thread Marcello Duarte
Hi, Can I please have a wiki account? Regards, Marcello -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Closures: Object extension

2012-01-06 Thread Marcello Duarte
Hi, What is the status of this RFC: Closures: Object extension? https://wiki.php.net/rfc/closures/object-extension _md

Re: [PHP-DEV] RFC: Making T_FUNCTION optional in method declarations

2010-11-27 Thread Marcello Duarte
+1 to being able to omit the function keyword. 2010/11/27 Johannes Schlüter : > Hi, > > every now and then while writing classes I forget to add the "function" > keyword between my visibility modifier and the method name in a class > declaration. I don't think it is required for readability and it