Re: Object spec [x-adr][x-bayes]

2003-03-07 Thread Sam Vilain
On Sat, 08 Mar 2003 06:58, Dan Sugalski wrote: > At 2:08 PM +1300 3/7/03, Sam Vilain wrote: > >As long as mechanisms are put in place to allow modules to bypass > > object encapsulation and private/public constraints, and given that > > Parrot will have no XS, > > It wouldn't be wise to jump from "

Re: Object spec [x-adr][x-bayes]

2003-03-07 Thread Dan Sugalski
At 2:08 PM +1300 3/7/03, Sam Vilain wrote: As long as mechanisms are put in place to allow modules to bypass object encapsulation and private/public constraints, and given that Parrot will have no XS, It wouldn't be wise to jump from "Parrot won't do perl 5's XS scheme" to "Parrot won't have a way

Re: signal/slot like mechanism

2003-03-07 Thread Dan Sugalski
At 6:27 PM + 3/6/03, Yannick Le Saint wrote: Hi guys, i was just wondering if some notification mechanism ( signal/slot alike ) was planned in perl 6, like they already are in glib and qt ? I'm not exactly sure what you're looking for, since I'm not too familiar with qt or glib, but if you m

Re: Object spec

2003-03-07 Thread Paul
--- Andy Wardley <[EMAIL PROTECTED]> wrote: > Associations *are* fundamental things, but I don't think they are > part of an object. They describe relationships between objects and > should exist independantly and orthogonal to them. Agreed. Is there any reason that shouldb't be done with somet

Re: signal/slot like mechanism

2003-03-07 Thread Luke Palmer
> Hi guys, i was just wondering if some notification mechanism ( > signal/slot alike ) was planned in perl 6, like they already are in > glib and qt ? class Signal { has @.dest; method emit($code) { $code($_) for @.dest } method attach($obj) { push @.dest: $obj } } class

Re: Object spec

2003-03-07 Thread Andy Wardley
Sam Vilain wrote: >Associations *are* fundamental object things. Presenting them in terms of >attributes is the real hack. Associations *are* fundamental things, but I don't think they are part of an object. They describe relationships between objects and should exist independantly and orthogo

signal/slot like mechanism

2003-03-07 Thread Yannick Le Saint
Hi guys, i was just wondering if some notification mechanism ( signal/slot alike ) was planned in perl 6, like they already are in glib and qt ? Or is it maybe better if implemented in some perl6 module (don't think so) ?? Or maybe this matter has already been discussed and is now closed