Re: r30205 - docs/Perl6/Spec

2010-03-27 Thread Leon Timmermans
A space between the colon and the opening brace ;-) Leon On Sat, Mar 27, 2010 at 2:01 AM, Geoffrey Broadwell ge...@broadwell.org wrote: On Fri, 2010-03-26 at 08:38 +0100, pugs-comm...@feather.perl6.nl wrote:      .doit: { $^a = $^b }              # okay      .doit(): { $^a = $^b }            

Re: You never have privacy from your children in Perl 6

2010-03-27 Thread Sean Hunt
On 03/26/2010 04:16 PM, Jason Switzer wrote: Also, this discussion of trusts piqued my interest; this sounds like a bad idea. Those of you who have worked extensively with C++ should bemoan trusts as much as friend classes. They break encapsulation for special cases, almost encouraging truly

Re: You never have privacy from your children in Perl 6

2010-03-27 Thread Darren Duncan
My own take on 'trusts' is that I consider its main purpose is to let programmers *avoid* contrivances when they want to define something that would otherwise be a single class but is split into multiple classes for better elegance. For example, say you want to define a graph of some kind, and

Re: You never have privacy from your children in Perl 6

2010-03-27 Thread Brandon S. Allbery KF8NH
On Mar 27, 2010, at 15:43 , Darren Duncan wrote: My own take on 'trusts' is that I consider its main purpose is to let programmers *avoid* contrivances when they want to define something that would otherwise be a single class but is split into multiple classes for better elegance. For