Re: Introducing EXCPLICIT

From: Date: Fri, 07 Jun 2002 08:45:21 +0000
Subject: Re: Introducing EXCPLICIT
References: 1 2 3 4  Groups: php.dev 
Request: Send a blank email to php-dev+get-84973@lists.php.net to get a copy of this message
j, nevermind, you're not the first one who says stop using php if you want oo and strong types aso aso. my decision is not only reasoned by your reply. sorry for dropping just a single line - i had to leave my desk.... regards, ilker "J Smith" <dark_panda@hushmail.com> wrote in message news:20020606163526.9027.qmail@pb1.pair.com... > > I wouldn't take my opinion as law, as I'm not part of the core PHP Group or > anything, so I don't speak for anyone but myself. All I'm saying is that I > seem to remember this issue being brought up before, and the result was > that PHP is not a strong typed language, and probably won't become one any > time soon. > > A couple of weeks ago the discussion kind of stirred up again with the idea > of "string types". > > You can sort of do your own data type checks now using is_int(), is_array(), > etc., which although falls short of true strong typing, is better than > nothing. > > If you want to move to C#, super. Use the tool that fits the job. But I hope > to hell you aren't doing it just 'cause I sent you a reply on a newsgroup > that you didn't like. Personally, I wouldn't mind a slightly stronger typed > PHP (at least for function arguments) as long as BC and portability were > maintained and it was totally optional. > > J > > > Ilker Cetinkaya wrote: > > > thank you for your reply, > > > > i'll change to c# as soon as i've finished my current projects. > > > > regards, > > ilker > > >

« previous php.dev (#84973) next »