stevan/p5-mop — Issue #29: Terminology: to attribute, or not to attribute?
Author: cpansprout
Created: 2011-12-12 06:56:49+00:00
State: open

Is there any chance you could consider a term other than *attribute* to refer to an object’s data? The problem with the word *attribute* is that it already has another meaning in the perl core:

sub foo : lvalue;

It’s not only used in the documentation. There is also a module named ‘attributes’. So I think this is just asking for confusion, if not for the users, then for anyone trying to hack on perl.

It’s already confusing enough when talking about globs. Now do I mean typeglobs or fileglobs? Please let’s not make that mistake again.

Other suggestions, in order of preference: properties, members, instance data.