develooper Front page | perl.bootstrap | Postings from July 2000

Re: Perl6 - ROLES

Thread Previous | Thread Next
July 21, 2000 10:43
Re: Perl6 - ROLES
Message ID:
On 21 Jul 2000, Simon Cozens wrote:

> This is the stuff that'll be mentioned a million times in the next
> month.
> Safe signals, threading, native compiler, SVs as hash keys, filehandle
> types, event loop, optional strong typing, banish typeglobs,
> mark-and-sweep GC, lexical subs, named prototypes, re-entrant
> everything, autoconf, Configure, Perl bootstrap configuration, localised
> messages,

Add to this exceptions supported by the core, methods as fast as
functions, and a usable & stable user-level threading interface.  I'm sure
I'm missing stuff too.


Allow me to continue with a few suggestions of my own here.

- hide @ISA completely.  The fact that inheritance can be modified at
runtime is cool but lets replace this with a module like base.  Maybe
base::add('Foo') & base::remove('Foo') could be used at runtime.

- formalize fixed object attributes ala pseudo-hashes but with a much less
crufty mechanism.  This too should be alterable at runtime.

- some people may want real protected & private attributes.  I think its
silly though.


We await the New Sun

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About