Yeah I agree, that was one of the things I listed under "disadvantages" lol.

I guess my question is:  Does this constitute a prohibitive problem, or is
it something that we can stomach?

I mean, if you think about it, that's really what we're talking about
anyway, right?  After all, when you're writing any application, you're
either going to be writing it with strict typing or you're going to be
writing it with dynamic typing.  The only difference here is that coders
with either preference will both find PHP accommodating to their style.


Similarly, a somewhat weaker argument could be made that, in PHP 5, you're
either coding for procedural design or for OO design (technically you could
do both, but I wouldn't wanna touch that codebase with a ten foot poll
lol).  The only difference here is that there would be a config setting to
tell the interpreter which is which.

--Kris


2012/2/23 Ángel González <keis...@gmail.com>

> On 23/02/12 22:59, Kris Craig wrote:
> > Could you elaborate on this?  So long as that setting cannot be changed
> > midway through a script or its includes (i.e. the stack must be "all
> > strict" or "all dynamic"), I can't think of any reason why that would not
> > be feasible.
> >
> > --Kris
> I'm afraid that would create a split between code-for-config-A and
> code-for-config-B.
>
>

Reply via email to