On Wed, Apr 16, 2008 at 04:29:23PM +0000, [EMAIL PROTECTED] wrote:
: You should look at Common Lisp.  it's definition of "optional typing" is that 
if you take a correct program and remove all the type declarations, then it 
still works correctly, although it may be significantly less efficient.  Larry 
and i have discussed this and that was his goai in Perl.  Now Perl doesn't 
quite meet that because of inferred method dispatch on .new().  you need to 
: my Dog $spot = .new();
: to
: my $Spot = Dog.new();
: when you remove the declaration.

You'd also break multiple dispatch rather badly...


Reply via email to