Le Thu, 09 Jul 2009 21:11:31 +0200, Geoffrey Sneddon a écrit : > On 9 Jul 2009, at 18:20, Lukas Kahwe Smith wrote: > > >> On 09.07.2009, at 10:39, Paul Biggar wrote: >> >>>> I think we can take Lukas's RFC and either change it or write >>>> something >>>> based on it for weak typing only. If people here find it useful I'll >>>> go >>>> ahead and do that. >>> >>> I believe people don't want this. I wrote a set of rules, Lukas wrote >>> the RFC, and neither got anything like the support that strict typing >>> got. >> >> >> Actually, in terms of weak typing we are now at 4 supporters of the >> general idea: >> Paul B., >> Lukas, >> Zeev, >> Christian S. > > As I said in the other thread, I'm in favour of weak typing (and against > strict typing). > > -g
Hello all, I don't understand why you focus on " Strict / Weak " question. For me it's very simple, it's not obligatory use Type Hiting. Developpers wants to write a weak code, they'll just have to not use Type Hiting and developpers wants wrote a stric code they'll have to use it. After, choosing use or not Type Hinting when writing a librairy / framework, this is not a php.internal problem. It's a developper, designer, marketing choice ! Use or not use Type hiting can help to chose a user target. And if you want be just between weak and strict, " numeric " and " scalar " type hiting seems to be a very good middle point. +1 for Strict type hiting. (weak type hiting very similar to no type hiting). -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php