Re: propose renaming Hash to Dict

2007-06-01 Thread Mark J. Reed
On 6/1/07, Ruud H.G. van Tol <[EMAIL PROTECTED]> wrote: John Macdonald schreef: > "hash > browned potatos" which is a hash of chopped potato, onion, > and sometimetimes other things fried brown. It's usually "hash browns" or "hashed browns", and I've always assumed the former to be a shortened

Re: propose renaming Hash to Dict

2007-06-01 Thread Ruud H.G. van Tol
John Macdonald schreef: > "hash > browned potatos" which is a hash of chopped potato, onion, > and sometimetimes other things fried brown. That comes from the French haché, meaning chopped. Best with lots of small pieces of beef in it as well. -- Groet, Ruud

Re: propose renaming Hash to Dict

2007-06-01 Thread Chas Owens
On 6/1/07, Doug McNutt <[EMAIL PROTECTED]> wrote: At 09:15 -0700 6/1/07, Larry Wall wrote: >: To conclude, as hash definitely tastes better than a dictionary, we >: should stick to that name. ;) >: >: At least nobody can say that Perl is bad taste! > >Then maybe we should rename Array to Skewer o

Re: propose renaming Hash to Dict

2007-06-01 Thread Doug McNutt
At 09:15 -0700 6/1/07, Larry Wall wrote: >: To conclude, as hash definitely tastes better than a dictionary, we >: should stick to that name. ;) >: >: At least nobody can say that Perl is bad taste! > >Then maybe we should rename Array to Skewer or Kabob or some such... > >Hmm, except it's hard to

Re: propose renaming Hash to Dict

2007-06-01 Thread Larry Wall
On Fri, Jun 01, 2007 at 06:52:37AM -0400, Mark J. Reed wrote: : On 6/1/07, Larry Wall <[EMAIL PROTECTED]> wrote: : >Nope. Hash is mostly about meaning, and very little about implementation. : >Please don't assume that I name things according to Standard Names in : >Computer Science. I name things

Re: propose renaming Hash to Dict

2007-06-01 Thread Larry Wall
On Fri, Jun 01, 2007 at 06:05:58PM +0200, Thomas Wittek wrote: : Daniel Hulme: : >> Larry Wall: : >>> I name things in English. Hash is just something that is disordered : > : >> I'm not a native english speaker, but I've never heard or read the word : >> "hash" outside CS. : > : > you've never

Re: propose renaming Hash to Dict

2007-06-01 Thread Thomas Wittek
Daniel Hulme: >> Larry Wall: >>> I name things in English. Hash is just something that is disordered > >> I'm not a native english speaker, but I've never heard or read the word >> "hash" outside CS. > > you've never eaten "corned beef hash". To conclude, as hash definitely tastes better than a

Re: propose renaming Hash to Dict

2007-06-01 Thread Daniel Hulme
On Fri, Jun 01, 2007 at 10:30:08AM -0400, John Macdonald wrote: > > "...make a hash of things" (meaning, a mess) > > "corned beef hash" > > That's two people that have given the same list, but both > have omitted the more common (in modern times) phrase "hash > browned potatos" which is a hash of

Re: propose renaming Hash to Dict

2007-06-01 Thread John Macdonald
On Fri, Jun 01, 2007 at 07:07:06AM -0400, Brandon S. Allbery KF8NH wrote: > > On Jun 1, 2007, at 5:44 , Thomas Wittek wrote: > > >Larry Wall: > >>Nope. Hash is mostly about meaning, and very little about > >>implementation. > >>Please don't assume that I name things according to Standard Names

Re: propose renaming Hash to Dict

2007-06-01 Thread Mark J. Reed
Let's not forget that the CS meaning of "hash" didn't spring forth fully-formed from the skull of Donald Knuth or anything. A "hash function" is so called because it "makes a hash of" the inputs. That is, its output, while deterministic, is at first glance a random rearrangement of the inputs. H

Re: propose renaming Hash to Dict

2007-06-01 Thread Brandon S. Allbery KF8NH
On Jun 1, 2007, at 5:44 , Thomas Wittek wrote: Larry Wall: Nope. Hash is mostly about meaning, and very little about implementation. Please don't assume that I name things according to Standard Names in Computer Science. I name things in English. Hash is just something that is disordered,

Re: propose renaming Hash to Dict

2007-06-01 Thread Mark J. Reed
On 6/1/07, Larry Wall <[EMAIL PROTECTED]> wrote: Nope. Hash is mostly about meaning, and very little about implementation. Please don't assume that I name things according to Standard Names in Computer Science. I name things in English. Then why did we need a separate "use English" pragma? :)

Re: propose renaming Hash to Dict

2007-06-01 Thread Daniel Hulme
On Fri, Jun 01, 2007 at 11:44:53AM +0200, Thomas Wittek wrote: > Larry Wall: > > Nope. Hash is mostly about meaning, and very little about implementation. > > Please don't assume that I name things according to Standard Names in > > Computer Science. I name things in English. Hash is just someth

Re: propose renaming Hash to Dict

2007-06-01 Thread Thomas Wittek
Larry Wall: > Nope. Hash is mostly about meaning, and very little about implementation. > Please don't assume that I name things according to Standard Names in > Computer Science. I name things in English. Hash is just something > that is disordered, which describes the associative array interfa

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

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 under

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
being named primarily after their meaning rather than their implementation, probably the current worst offender is Hash. Barring some better name, I highly recommend/propose renaming Hash to Dict. The term Dict (as a short form of "dictionary") is well understood by general people