From: "Ara.T.Howard" Date: 2005-10-25T16:28:03+09:00 Subject: Re: A comparison by example of keyword argument styles On Tue, 25 Oct 2005, Yukihiro Matsumoto wrote: > Hi, > > In message "Re: A comparison by example of keyword argument styles" > on Tue, 25 Oct 2005 00:15:35 +0900, Eric Mahurin writes: > > |> otherwise we > |> must change the code as > |> > |> def foo(*args, **keys) > |> bar(*args, **keys) > |> end > |> > |> everywhere, to just do delegation. > | > |or rather: > | > |def foo(*args, **keys, &block) > | bar(*args, **keys, &block) > |end > | > |What's wrong with having to do that? > > It's longer than it is really needed. I want to delegate everything > I've passed, that's all. I'd rather delegate blocks as well when I > write bar(*args). amen! maybe bar(_). -a -- =============================================================================== | email :: ara [dot] t [dot] howard [at] noaa [dot] gov | phone :: 303.497.6469 | anything that contradicts experience and logic should be abandoned. | -- h.h. the 14th dalai lama ===============================================================================