Chip Salzenberg wrote:
>
> Matt suggests that the "get" meme is better for retrieving from a single
> known location, while the "find" meme is better for looking in multiple
> places until success. If you agree, then "find_lex" can remain with its
> current name. As can, for similar reasons, "find_type".
For consistency, I'd be more inclined to use get/set universally for
untyped symbol access (for the raw names including literal HLL name
mangling), and find/add universally for typed symbol access (with
HLL-specific name mangling handled automatically, or at least by passed
parameters).
"find_type" would fall into the latter set, because it retrieves the
type by unmangled name ("Foo") and not mangled name ("::Foo" for Perl 6
if it ends up going that way).
Allison