Front page | perl.perl6.language |
Postings from September 2005
Re: k, v
Thread Previous
From:
Juerd
Date:
September 24, 2005 07:50
Subject:
Re: k, v
Message ID:
20050924145017.GJ24163@c4.convolution.nl
Uri Guttman skribis 2005-09-24 10:37 (-0400):
> huffman has its limits too. in general having single letter names for
> anything is a poor idea. it makes it hard to search for, you limit it to
> only one thing that can use that letter, it isn't always easy to
> remember what a given letter is, etc. keys and values are short enough
> and read much better. kv works because keyvalues is clunky and too
> long.
This reasoning works for me. Thank you.
> i wouldn't have minded .pairs or .each instead of kv. but alias
> methods are easy to add.
I'd expect .pairs to return pairs, not keys and values zipped.
Re each, I don't know what to expect: a single pair, or all pairs. Not
what .kv does, anyway.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
Thread Previous