Re: Scalar Type Hinting

From: Date: Wed, 07 Mar 2012 08:11:04 +0000
Subject: Re: Scalar Type Hinting
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-58721@lists.php.net to get a copy of this message
Stas Malyshev wrote:
And can we please stop using word "hinting"? We can call it type conversion, typecasting, type coercion, etc. http://en.wikipedia.org/wiki/Type_conversion But I don't see how there's any hinting involved.
Is this were things have drifted from the original working base? I was under the impression that the idea was to give developers a nudge as to what type of parameter was required ( so documentation did the job for me ) rather than forcing a conversion when the wrong type was supplied? Which particular problem is being worked on? -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php

« previous php.internals (#58721) next »