Re: propose renaming Hash to Dict

2007-05-31 Thread chromatic
On Thursday 31 May 2007 17:36:40 Chas Owens wrote: > Except of course those poor schmucks who foolishly wrote code like > > if (ref $arg eq 'HASH') { ... } I know you're teasing, but it *would* be nice to see that sort of code just magically go away. -- c

[svn:perl6-synopsis] r14411 - doc/trunk/design/syn

2007-05-31 Thread larry
Author: larry Date: Thu May 31 22:43:55 2007 New Revision: 14411 Modified: doc/trunk/design/syn/S12.pod Log: There is no longer any run-time dwimmery in indirect dispatch. Now use $obj."$foo" exclusively for symbolic method indirection $obj.$var and [EMAIL PROTECTED] forms now allow *only* har

Re: propose renaming Hash to Dict

2007-05-31 Thread Darren Duncan
At 9:17 PM -0700 5/31/07, Larry Wall wrote: Nope. Hash is mostly about meaning, and very little about implementation. And as I said before, part of the reason for using Object is political, Okay, thanks for addressing these 2 naming concerns I talked about; I'll drop the associated matter

Re: propose renaming Hash to Dict

2007-05-31 Thread Larry Wall
On Thu, May 31, 2007 at 05:10:57PM -0700, Darren Duncan wrote: : I decided to bring out this Hash->Dict topic in a different thread : from the thread on Synopsis r14407 about Object->Universal since I : consider them separate though tangential matters that should be : argued on their individual

Re: propose renaming Hash to Dict

2007-05-31 Thread David Lloyd
I thought one of the things that Larry didn't want to do when moving towards the next big version of Perl was to change the nature of the language such that it wasn't Perl any more. I feel that renaming a Hash to Dict would be one of those changes. Personally, I don't find it difficult to

Re: propose renaming Hash to Dict

2007-05-31 Thread Chas Owens
On 5/31/07, Darren Duncan <[EMAIL PROTECTED]> wrote: Barring some better name, I highly recommend/propose renaming Hash to Dict. And lets rename Perl to Python. This is just change for the sake of change. snip The term Dict (as a short form of "dictionary") is well understood by general peopl

Re: propose renaming Hash to Dict

2007-05-31 Thread Juerd Waalboer
Dictionaries are usually alphabetically ordered. Hashes are not. -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> convolution: ict solutions and consultancy <[EMAIL PROTECTED]>

propose renaming Hash to Dict

2007-05-31 Thread Darren Duncan
I decided to bring out this Hash->Dict topic in a different thread from the thread on Synopsis r14407 about Object->Universal since I consider them separate though tangential matters that should be argued on their individual merits. In the interest of that Perl data types are better off being

Re: [svn:perl6-synopsis] r14407 - doc/trunk/design/syn

2007-05-31 Thread Darren Duncan
At 5:36 PM -0600 5/31/07, David Green wrote: On 5/29/07, Larry Wall wrote: In any case, the Huffman coding is probably right because you want to declare Any parameters more often than you want to talk about any possible kind of Object, I suspect. Are Objects really Everything? What about nati

[svn:perl6-synopsis] r14410 - doc/trunk/design/syn

2007-05-31 Thread larry
Author: larry Date: Thu May 31 16:53:58 2007 New Revision: 14410 Modified: doc/trunk/design/syn/S05.pod Log: bogus ; termination noticed by pmichaud++ Modified: doc/trunk/design/syn/S05.pod == --- doc/trunk/design/sy

Re: [svn:perl6-synopsis] r14407 - doc/trunk/design/syn

2007-05-31 Thread David Green
On 5/29/07, Larry Wall wrote: Note that "any" is considered a singular noun in English, I started to say, "Except when it means 'all'", but when used that way, it still would mean "all" in the singular sense. But it gives me an excuse to point out that "any" can be ambiguous in English; it'