Front page | perl.perl6.language |
Postings from June 2005
Re: SMD is for weenies
Thread Previous
|
Thread Next
From:
Sam Vilain
Date:
June 30, 2005 18:42
Subject:
Re: SMD is for weenies
Message ID:
42C49F8A.5080302@vilain.net
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
match;
method foo redefined at ...
I agree with you MMD is very cool, and I use it a lot. But I don't
mind clarifying the intent with "multi"; this "overloading" is
considered by some to be surprising to new programmers.
Sam.
Thread Previous
|
Thread Next