> My personal preference would be for all such properties (traits?) to be
   > reserved across all types - eg using 'prompt' on a hash gives a
   > compile/run time error. This allows the compiler to catch certain types
   > of typo and thinko, and also allows us to expand in future - eg when
   > some P6Per comes up with a bright idea on how prompts can be made
   > applicable to hashes, we dont have the familar argument "but we can't
   > do that, it may break code that defines a user property called
   > 'prompt'".

I could imagine the same types of warnings on all-lowercase traits/properties
as on lowercase barewords. That is: let them be, by convention, reserved for
(future) built-ins.


   > PS - I *really* like the traits proposal.

Me too :-)

Damian

Reply via email to