On Wed, Oct 14, 2009 at 10:38 PM, Shawn M Moore <sar...@bestpractical.com> wrote: > On Wed, Oct 14, 2009 at 11:15:54AM -0700, David E. Wheeler wrote: >> On Oct 14, 2009, at 11:05 AM, Shawn M Moore wrote:
[snip] >> > Both forms of composition are useful and good. I think we can have >> > both in TD. >> >> Okay. Then the question then becomes, what should we call the current >> delegation method? >> >> delegate_to Some::Class in This::Class under '/foo' setting { foo >> => 'bar' }; >> >> I'd like a shorter expression than "delegate_to" (one reason I really >> liked `mix`), but maybe I'm just being obtuse. > > Hmm. I'd like to avoid the underscore if we can. Maybe just "delegate" > or even "alias". > > delegate Some::Class in This::Class under '/foo' setting { foo => 'bar' }; > > delegate Some::Class under '/foo'; delegate to Some::Class in This::Class under '/foo' setting { foo => 'bar' }; delegate '/foo' in This::Class to Some::Class setting {}; > > shrug! > >> Comments? >> >> Best, >> >> David > > Shawn > > _______________________________________________ > jifty-devel mailing list > jifty-devel@lists.jifty.org > http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel > -- Best regards, Ruslan. _______________________________________________ jifty-devel mailing list jifty-devel@lists.jifty.org http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel