From: "Brian F. Feldman" Date: 2001-01-10T14:11:29+09:00 Subject: [ruby-talk:8982] Re: bug?? Dave Thomas wrote: > matz@zetabits.com (Yukihiro Matsumoto) writes: > > > |I agree. But should we have way to change the hash default initializer? > > > > Not really. Hash default value (single object given to `Hash::new') > > and hash fallback (block given to `Hash::new') are two similar yet > > different beasts. And code portion by block may not be replaceable > > later in many other cases. > > Except we could have the best of both worlds: if the default value was > a proc, then it could be called to supply the value to use. Or something like [ruby-talk:5962]? -- Brian Fundakowski Feldman \ FreeBSD: The Power to Serve! / green@FreeBSD.org `------------------------------'