2010/7/30 Alberto Simões <al...@alfarrabio.di.uminho.pt>
>
> Hello
>
> I am out of Perl 6/Parrot for some time, but trying to get back and help
> with Perl 6 (at least, modules).
>
> As there are already some modules available, I am wondering if anyone
> already prepared a module-starter-like module to bootstrap a Perl 6 module.
>

There's not a lot of complexity to it right now. This is mostly
because we haven't got a lot of the more esoteric module semantics in
place. Some general rules I'd stick to:

* Be explicit with 'use v6'
* Keep POD documentation in a separate file for now
* Convention seems to be leaning toward dashes in function names
* Convention seems to be leaning toward camel cased class names
* Convention seems to be leaning toward one-line-per-parameter for
function/method signatures that don't cleanly fit on one line
* Convention seems to be leaning toward a sparing use of "is export".

That's what I've observed in browsing the existing modules.


--
Aaron Sherman
Email or GTalk: a...@ajs.com
http://www.ajs.com/~ajs

Reply via email to