Re: Why pass by reference?

2009-06-19 Thread Martin D Kealey
Matthew Walton wrote: If a user of your API contrives to make it change while you're running, that's their own foot they've just shot, because they can look at the signature and know the semantics of the parameter passing being used and know that if they change the value externally

Re: Why pass by reference?

2009-06-19 Thread Martin D Kealey
On Fri, 19 Jun 2009, Martin D Kealey wrote: To that end I would propose that: - parameters should be read-only AND invariant by default, and - that invariance should be enforced passing a deep immutable clone (*5) in place of any object that isn't already immutable. Sorry, typo: that

Re: Rakudo Perl 6 development release #18 (Pittsburgh)

2009-06-19 Thread François Perrad
2009/6/19 Patrick R. Michaud pmich...@pobox.com: On behalf of the Rakudo development team, I'm pleased to announce the June 2009 development release of Rakudo Perl #18 Pittsburgh. Rakudo is an implementation of Perl 6 on the Parrot Virtual Machine [1]. The tarball for the June 2009 release is