develooper Front page | perl.perl6.language | Postings from September 2005

Re: Allomopherencing

Thread Previous | Thread Next
From:
Ashley Winters
Date:
September 25, 2005 23:26
Subject:
Re: Allomopherencing
Message ID:
cda42dbb050925232573855dc6@mail.gmail.com
On 9/25/05, Yuval Kogman <nothingmuch@woobling.org> wrote:
> > In order to enforce that level of compile-time type safely, you should
> > need to declare my Dog $dog, or stick a pragma up top:
>
> That's the point of my question - why? What do I lose by
> inferrencing?

Nothing that I see. I recant my arguments when strict inferencing is
in place. That's exactly how I'd want it to work when optimization
and/or stricture is in place. It'd be a *very* nice compiler feature.

Ashley Winters

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About