Re: [PHP-DEV] Let's discuss enums!
On 18 September 2015 01:15:43 BST, Bob Weinand <bobwei9@hotmail.com> wrote: >The reason it is not an associative array is that the names are not >important. .... >You never should...
View Article[PHP-DEV] Re: Let's discuss enums!
Jefferson Gonzalez wrote on 18/09/2015 03:20: > On 09/17/2015 08:05 PM, Rowan Collins wrote: >> I don't think serializing to a name is particularly more inefficient >> than serializing...
View ArticleRe: [PHP-DEV] Let's discuss enums!
On Thu, Sep 17, 2015 at 5:52 PM, John Bafford <jbafford@zort.net> wrote: > On Sep 17, 2015, at 19:16, Bob Weinand <bobwei9@hotmail.com> wrote: >> >>> Am 18.09.2015 um...
View ArticleRe: [PHP-DEV] Let's discuss enums!
On Fri, Sep 18, 2015 at 1:05 AM, Pavel Kouřil <pajousek@gmail.com> wrote: > On Fri, Sep 18, 2015 at 1:06 AM, Rowan Collins <rowan.collins@gmail.com> wrote: >> Hi All, >>...
View ArticleRe: [PHP-DEV] Let's discuss enums!
> Am 18.09.2015 um 10:42 schrieb Rowan Collins <rowan.collins@gmail.com>: > > On 18 September 2015 01:15:43 BST, Bob Weinand <bobwei9@hotmail.com> wrote: >> The reason it is...
View ArticleRe: [PHP-DEV] Let's discuss enums!
Bob Weinand wrote on 18/09/2015 15:23: > Well, I think we should*either* have an ordinal*or* a name. > But not both. > > Currently, after thinking about it, I'm in favor of just a name....
View ArticleRe: [PHP-DEV] Let's discuss enums!
Levi et al, On Fri, Sep 18, 2015 at 10:11 AM, Levi Morrison <levim@php.net> wrote: > On Thu, Sep 17, 2015 at 5:52 PM, John Bafford <jbafford@zort.net> wrote: >> On Sep 17, 2015,...
View ArticleRe: [PHP-DEV] Let's discuss enums!
On 09/18/2015 10:42 AM, Anthony Ferrara wrote: > As far as enums, I wonder if they would be necessary if we supported > algebraic types, since you could define an "enum" as a virtual type: >...
View ArticleRe: [PHP-DEV] Let's discuss enums!
On 09/18/2015 10:21 AM, Levi Morrison wrote: > On Fri, Sep 18, 2015 at 1:05 AM, Pavel Kouřil <pajousek@gmail.com> wrote: >> On Fri, Sep 18, 2015 at 1:06 AM, Rowan Collins...
View ArticleRe: [PHP-DEV] Let's discuss enums!
(CC'ing internals as it was apparently dropped by Jeff) On Fri, Sep 18, 2015 at 11:03 AM, Levi Morrison <levim@php.net> wrote: > On Fri, Sep 18, 2015 at 9:59 AM, Jefferson Gonzalez...
View ArticleRe: [PHP-DEV] Let's discuss enums!
Levi Morrison wrote on 18/09/2015 18:04: > Anything else is trying to add value in some way – in your case you > are adding a primitive value that the language will automatically map > for...
View ArticleRe: [PHP-DEV] Let's discuss enums!
On Fri, Sep 18, 2015 at 11:18 AM, Rowan Collins <rowan.collins@gmail.com> wrote: > Levi Morrison wrote on 18/09/2015 18:04: >> >> Anything else is trying to add value in some way...
View ArticleRe: [PHP-DEV] Let's discuss enums!
On 18/09/15 00:06, Rowan Collins wrote: > So, what are anyone's thoughts? Am I rambling on too much as usual? ;) What happens when you need to switch language? This is one area where a well...
View ArticleRe: [PHP-DEV] Let's discuss enums!
On 09/18/2015 01:21 PM, Levi Morrison wrote: > On Fri, Sep 18, 2015 at 11:18 AM, Rowan Collins <rowan.collins@gmail.com> wrote: >> Levi Morrison wrote on 18/09/2015 18:04: >>>...
View ArticleRe: [PHP-DEV] Let's discuss enums!
Jefferson Gonzalez wrote on 18/09/2015 19:25: > I also believe the rfc should include type hinting of enums as has > been mentioned on this discussion. That would make enumerations more >...
View ArticleRe: [PHP-DEV] Let's discuss enums!
On 09/18/2015 02:29 PM, Rowan Collins wrote: > Jefferson Gonzalez wrote on 18/09/2015 19:25: >> I also believe the rfc should include type hinting of enums as has >> been mentioned on...
View ArticleRe: [PHP-DEV] Re: Let's discuss enums!
On 18 September 2015 03:58:57 BST, Stephen Coakley <me@stephencoakley.com> wrote: >On 09/17/2015 06:06 PM, Rowan Collins wrote: >> member THURSDAY, FRIDAY, SATURDAY, SUNDAY; // don't...
View ArticleRe: [PHP-DEV] Let's discuss enums!
On 18 September 2015 08:05:11 BST, "Pavel Kouřil" <pajousek@gmail.com> wrote: >personally, I feel that you should be able to assign numeric value to >each element (and have them implicit...
View ArticleRe: [PHP-DEV] Let's discuss enums!
On 18 September 2015 15:42:44 BST, Anthony Ferrara <ircmaxell@gmail.com> wrote: >As far as enums, I wonder if they would be necessary if we supported >algebraic types, since you could...
View ArticleRe: [PHP-DEV] Let's discuss enums!
On 18 September 2015 18:31:55 BST, Lester Caine <lester@lsces.co.uk> wrote: >On 18/09/15 00:06, Rowan Collins wrote: >> So, what are anyone's thoughts? Am I rambling on too much as...
View Article