in reply to Re: Re: Re: Re: Apocalypse 12
in thread Apocalypse 12

$method.meta.getattributes doesn't list source class/role and version metadata but it could be included.

This non-transparent method source also worried me. The combination of multiple inheritence, roles, traits, runtime role-things, multiple dispatch (including subtypes and signature distance), dispatcher/traversal options and the autoloading possibilities together make interpreting a method call potentially quite tricky. It seems like the composability and flattening of the Traits Paper has been lost.

I have to remind myself that while the explanation has to be exhaustive, the cognitive load during programming should in fact be lighter.

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Re: Apocalypse 12
by TimToady (Parson) on Apr 27, 2004 at 17:42 UTC
    It seems like the composability and flattening of the Traits Paper has been lost.
    You must have missed this statement: "The .getmethods method has a selector parameter that lets you specify whether you want to see a flattened or hierarchical view, whether you're interested in private methods, and so forth."

    But yes, it would be nice if the flat view could also give you the pedigree of the methods.