Re: Documentation trait / Docstring equiverlent

2005-06-30 Thread chromatic
On Thu, 2005-06-30 at 04:33 +, David Formosa (aka ? the Platypus) wrote: > I'm just wondering if a documentation trait on subs would be usefull. > If we are going to have something like p6explain the doc trait could > be used as the source for the infomation for it. p6explain would > simply h

Re: SMD is for weenies

2005-06-30 Thread Yuval Kogman
On Fri, Jul 01, 2005 at 13:42:34 +1200, Sam Vilain wrote: > Yuval Kogman wrote: > >As I understand it SMD is now not much more than a mechanism to > >place a constraint on the MMD, saying that there can only be one > >method or subroutine with the same short name. > >Why is this the default? > > O

Re: SMD is for weenies

2005-06-30 Thread Sam Vilain
Yuval Kogman wrote: As I understand it SMD is now not much more than a mechanism to place a constraint on the MMD, saying that there can only be one method or subroutine with the same short name. Why is this the default? Otherwise you lose this quite useful warning if the signatures didn't matc

Re: Mr. Clean vs. Perl 6

2005-06-30 Thread Stéphane Payrard
On Thu, Jun 30, 2005 at 06:17:14AM -, David Formosa (aka ? the Platypus) wrote: > On Thu, 30 Jun 2005 05:17:56 +0300, Yuval Kogman > <[EMAIL PROTECTED]> wrote: > [...] > > > I gave Perl 6 to Mr. Clean, and he said that if type inferrence was > > formalized, and used always, except that it's

SMD is for weenies

2005-06-30 Thread Yuval Kogman
As I understand it SMD is now not much more than a mechanism to place a constraint on the MMD, saying that there can only be one method or subroutine with the same short name. Why is this the default? MMD has a huge value for amending software (especially not your own software) - specialized case

Documentation trait / Docstring equiverlent

2005-06-30 Thread David Formosa \(aka ? the Platypus\)
I'm just wondering if a documentation trait on subs would be usefull. If we are going to have something like p6explain the doc trait could be used as the source for the infomation for it. p6explain would simply have to walk the AST reading the doc traits and pasting the text together. -- Please

Re: Mr. Clean vs. Perl 6

2005-06-30 Thread David Formosa \(aka ? the Platypus\)
On Thu, 30 Jun 2005 05:17:56 +0300, Yuval Kogman <[EMAIL PROTECTED]> wrote: [...] > I gave Perl 6 to Mr. Clean, and he said that if type inferrence was > formalized, and used always, except that it's usually used for > performance, and with a lexical pragma can be used to enforce types. > I like