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

Re: First look: Advanced Polymorphism whitepaper

Thread Previous | Thread Next
From:
Brandon S. Allbery KF8NH
Date:
April 30, 2008 22:53
Subject:
Re: First look: Advanced Polymorphism whitepaper
Message ID:
91E3DE69-EC65-445E-AB95-1D631F892129@ece.cmu.edu

On May 1, 2008, at 1:46 , Larry Wall wrote:

> On Thu, May 01, 2008 at 01:34:45AM -0400, Brandon S. Allbery KF8NH  
> wrote:
>>
>> On May 1, 2008, at 1:30 , Jon Lang wrote:
>>> In defense of chromatic's point, both people and syrup run.
>>
>> But there *is* some commonality there, to the extent that both are  
>> motion.
>> This is the kind of thing that spawned this discussion, in fact:   
>> if what
>> matters is motion, there is no reason *not* to substitute one for the
>> other.
>
> Er, ask Nasa their opinion of duck typing newtons and pounds.  Hey,
> they're both units of thrust, so they both cause motion...

Well, yes; but what spawned this side discussion was the whole notion  
of mixing things that normally wouldn't.  It *is* Perlish to let you  
do such things, after all.  (Note that strong typing would disallow  
this, so NASA could still have their units check.)

-- 
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH



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