Forum: Ruby Re: traits

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Berger, Daniel (Guest)
on 2006-03-21 18:49
(Received via mailing list)
> relation?
It looks to me like some sort of strange mix of delegation, observer,
module and the Schaerli concept of traits, with a GUI to boot.  I don't
think there's any relation to Ara's traits package.

Traits (the Schaerli concept) are largely a solution in search of a
problem in world of dynamic languages, IMHO, especially in Ruby since we
have modules and mixins.  To nip the potential
method-redefinition-from-multiple-modules problem in the bud I
collaborated with Mauricio F. and wrote the 'use' package that
let's you selectively include, exclude or alias module methods at the
moment of inclusion.

Regards,

Dan
This topic is locked and can not be replied to.