Re: Perl6 "style-guide"

2006-09-25 Thread Chris Dolan
On Sep 20, 2006, at 6:16 PM, Darren Duncan wrote: At 4:56 PM +0200 9/20/06, Fagyal Csongor wrote: I was wondering if there is (or there should be) a documentation on how to elegantly write Perl6 code. I have found that Damian's "Perl Best Practices" still works very well for Perl 6 code, s

Re: Perl6 "style-guide"

2006-09-20 Thread A. Pagaltzis
* Juerd <[EMAIL PROTECTED]> [2006-09-21 00:50]: > I've been thinking in Perl 6 terms for quite a while now, I won’t dismiss this claim, but the [EMAIL PROTECTED] = qw( Exporter );` example I mentioned in the other mail cautions me from believing that anyone is particularly fluent with Perl 6 quite

Re: Perl6 "style-guide"

2006-09-20 Thread Larry Wall
On Wed, Sep 20, 2006 at 04:16:32PM -0700, Darren Duncan wrote: : And in fact, I expect that PBP was written to be forward compatible : to Perl 6, as it could describe styles that should be natural in Perl : 6, even if less so in Perl 5. Indeed, I know for a fact that it was. (Though the treatme

Re: Perl6 "style-guide"

2006-09-20 Thread Darren Duncan
At 4:56 PM +0200 9/20/06, Fagyal Csongor wrote: I was wondering if there is (or there should be) a documentation on how to elegantly write Perl6 code. I have found that Damian's "Perl Best Practices" still works very well for Perl 6 code, so I still apply that where reasonably possible. And

Re: Perl6 "style-guide"

2006-09-20 Thread Juerd
A. Pagaltzis skribis 2006-09-20 22:29 (+0200): > * Fagyal Csongor <[EMAIL PROTECTED]> [2006-09-20 17:00]: > > I am afraid that when I will be starting to write Perl6 code, > > it will be too much Perl5-ish, > Even with a style guide, your Perl 6 code will still be > Perl-5-ish. And even once it???s

Re: Perl6 "style-guide"

2006-09-20 Thread Carl Mäsak
Aristotle (>): That said, a cheatsheet with broad tips for arrivals from Perl 5 could already be written and will age well. Oh, have a look at docs/other/porting_howto in the pugs svn tree. If nothing else, it's a good starting point.

Re: Perl6 "style-guide"

2006-09-20 Thread A. Pagaltzis
* Fagyal Csongor <[EMAIL PROTECTED]> [2006-09-20 17:00]: > I am afraid that when I will be starting to write Perl6 code, > it will be too much Perl5-ish, Even with a style guide, your Perl 6 code will still be Perl-5-ish. And even once it’s not anymore, six months later you will discover that it’s

Re: Perl6 "style-guide"

2006-09-20 Thread Michael Snoyman
On 9/20/06, jerry gay <[EMAIL PROTECTED]> wrote: don't "just leave this to the community." take part! take advantage of the perl 6 wiki (http://rakudo.org/perl6/index.cgi) and create a page describing the task. write some code yourself. ask folks to contribute, and fix the existing code or add t

Re: Perl6 "style-guide"

2006-09-20 Thread jerry gay
On 9/20/06, Fagyal Csongor <[EMAIL PROTECTED]> wrote: I was wondering if there is (or there should be) a documentation on how to elegantly write Perl6 code. yes, there should be. I am afraid that when I will be starting to write Perl6 code, it will be too much Perl5-ish, and I will end up rew