develooper Front page | perl.perl6.language | Postings from April 2003

Re: Static typing with Interfaces

Thread Previous | Thread Next
From:
John Williams
Date:
April 17, 2003 16:08
Subject:
Re: Static typing with Interfaces
Message ID:
Pine.LNX.4.33.0304171701540.16412-100000@sharkey.morinda.com
On 17 Apr 2003, Luke Palmer wrote:
> Although, if what you're wanting is just a way to do dynamic checking
> instead of static, a simple scalar would work.
>
>     my $car = @ParkingLot[$spot];
>     $car.OpenDoor();

Yes, but that's just like saying
     $a = my $xxx = $b;
to get runtime typechecking, which didn't get received very well...


~ John Williams


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