in reply to Role::Tiny: When to use apply_roles_to_object?

Not an outright answer but the example that comes to mind (vaguely from when I actually skimmed about it aeons ago when dinosaurs still roamed the earth) was the Self language (see Self_(programming_language); also this SO thread looks to have some good pointers (and discussion WRT to JavaScript which has similar prototype inheritance features)).

The cake is a lie.
The cake is a lie.
The cake is a lie.

  • Comment on Re: Role::Tiny: When to use apply_roles_to_object?

Replies are listed 'Best First'.
Re^2: Role::Tiny: When to use apply_roles_to_object?
by karlgoethebier (Abbot) on May 02, 2019 at 17:01 UTC
    "...aeons ago...JavaScript which has similar prototype inheritance features"

    Do'h!. It's a matter of taste after all. I repressed my JavaScript experience. Or may be i never got a proper understanding of the language.

    Thanks and best regards, Karl

    «The Crux of the Biscuit is the Apostrophe»

    perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help