On Feb 9, 2015 6:07 PM, "François Laupretre" <franc...@tekwire.net> wrote:
>
> > De : Pierre Joye [mailto:pierre....@gmail.com]
> >
> > > However, DbC is coming close!
> > >
> > > DbC brings much more flexibility, strict/loose constraints,
performance,
> > > security, better documentation and more.
> > > DbC suitable for weakly typed PHP perfectly.
> > >
> > > Therefore, I'm holding my vote now.
> > > I hope everyone have an attention to DbC and consider thoughtfully.
> >
> > Imho they are totally different things.
>
> You're right. That's two different things in the way they are
implemented. But they are also closely related because both approaches
propose an element of solution to similar needs: reduce coding errors.
>
> Then, depending on their own position about strict types, people will
consider it as just a complement, or as a whole alternative. I agree on one
thing, we mustn't mix both discussions :)

It is not what I am saying.

Let me try with a fictional example.

Let say we have a RFC about adding support to comments in code. Yes, simple
comments.

Now what has been said here is that he suspends his vote because there is
other working on adding phpdoc. And comparing DbC with type hinting is
light years different.

Reply via email to