From: darren kirby Date: 2006-08-26T09:19:39+09:00 Subject: Re: What does *var mean? --nextPart1858368.jtIOApRjkP Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline quoth the Hal Fulton: > darren kirby wrote: > > quoth the dblack@wobblini.net: > >>>**kwargs will collect them in a hash. > >> > >>When you say "will"... do you mean in the future? Is that documented > >>somewhere? I can't puzzle out the reasoning behind it. > > > > Eh? Are you just poking fun at me or what? > > > > **kwargs collects them in a hash. > > > > Better? > > Haha... I don't think he was poking fun at you. He really > didn't know whether you were using a "real" future tense > or not. I thought for sure he was poking fun. I looked up a bunch of his previous=20 posts and he certainly knows a lot about Ruby, so he must know that precedi= ng=20 a function/method definition arg with '**' collects them in a hash... > Funny, because I had a conversation with him about my > copyeditor and this very issue. > > FWIW, I used the "pseudo-future" tense a lot in the book, > and the CE always changed it to strict present. In some > cases, I changed it back. Yeah, we're computer guys, not English majors right? Besides, it _will_ collect the args in a hash in the future, because you mu= st=20 define the function before calling it... > > Hal =2Dd =2D-=20 darren kirby :: Part of the problem since 1976 :: http://badcomputer.org "...the number of UNIX installations has grown to 10, with more expected..." =2D Dennis Ritchie and Ken Thompson, June 1972 --nextPart1858368.jtIOApRjkP Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQBE75OZwPD5Cr/3CJgRAs1AAJ9WR1nOVOSW9gu5YLHK31xp5NEcDQCgrfOE 7zQtwocQuH06AZPOkxnPEaM= =2fBx -----END PGP SIGNATURE----- --nextPart1858368.jtIOApRjkP--