Re: Design by Contract

From: Date: Fri, 06 Feb 2015 04:00:28 +0000
Subject: Re: Design by Contract
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On Thu, Feb 5, 2015 at 11:36 PM, Dmitry Stogov <[email protected]> wrote:
> phpdoc is annotation as well, but to split it into specific attributes we
> have to write specialized parsers.
> Other languages support annotation or attributes that may be used more
> easily.
>
> http://docs.hhvm.com/manual/en/hack.attributes.php

Exactly, phpdoc is used as annotation (or comments with some similar
syntax) but is definitively not aimed to be annotations.

-- 
Pierre

@pierrejoye | http://www.libgd.org


Thread (220 messages)

« previous php.internals (#82003) next »