Hi,
In message "[ruby-talk:02535] Default naming for iterator parameters"
on 00/04/20, mrilu <mrilu / ale.cx> writes:
|This code is somehow magically translated into following before execution.
|
|{'foo' => 'bar', 'dog' => 'bert'}.each_pair {
| |key, value|
| print key, ": ", value, "\n"
|}
|
|I thought being able to set default iterator parameter naming *might*
|be good idea.
|
|Now if people think this is good (I know Matz said at least he's lazy :)
|we should think
|
|1) proper default names
|2) way to describe default names to interpreter for
| home made iterating functions
Hmm, I'm too lazy to learn magic variable names for each methods.
matz.