Re: [RFC] Scalar Type Hints v0.2

From: Date: Thu, 15 Jan 2015 19:55:58 +0000
Subject: Re: [RFC] Scalar Type Hints v0.2
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15  Groups: php.internals 
Request: Send a blank email to internals+get-80585@lists.php.net to get a copy of this message
> On 15 Jan 2015, at 19:52, Andrea Faulds <ajf@ajf.me> wrote: > > Sure, weak typing is much poorer than strict typing for error checking. Does that mean the user > should be prevented from having the choice? > > Are you simply opposed to the idea of weak types in general? Another way to put this: Allow a user to shoot themselves in the foot (use weak types) if they want. Don’t force me to shoot myself in the foot if I don’t want to (give APIs the choice of weak typing, not the user). -- Andrea Faulds http://ajf.me/

« previous php.internals (#80585) next »