Duh v D'oh

Peter Corlett abuse at cabal.org.uk
Fri Nov 7 11:48:54 GMT 2008


On Thu, Nov 06, 2008 at 05:00:16PM +0000, Nigel Rantor wrote:
> Paul Makepeace wrote:
[...]
>> If it's not staring out at you, you're possibly also a python programmer.
>> Python here arguably DWIM better than perl.
> Does python give you the keys by default?

Sort of. In Python, "for" loops over values returned by an iterator, and a
hash implements that interface.









More information about the london.pm mailing list