Perl6::Roles handles #5 correctly. The rest weren't requirements of Tim, so I didn't implement them. Please provide an API for each item and I'll gladly implement them. Of course, it'd be best if the API was as close as possible to what P6 roles will do, but I'll consider any suggestion.
My criteria for good software:
- Does it work?
- Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
| [reply] |
I happen to have an API spec handy. Fancy that ;)
Frankly, without the rest, we don't have traits as described by the traits paper. Thus, traits are reduced to little more than glorified exporting packages (which, to be honest, I was using until Class::Trait fixed some of the more serious issues).
As for writing a real API spec, I'd love to, but that would take a bit of time and I do have real work to do :( (and I might get this problem solved with Class::Trait in the time it would take me to write up the spec).
I hope this doesn't sound like I'm dismissing your offer. I really appreciate it, but rewriting the traits papers or some Perl 6 notes would take quite a bit of time to do correctly. On the other hand, if you came up with a working model, I'd happily look at it.
| [reply] |