On 4/28/2016 11:15 PM, Stanislav Malyshev wrote: > I think we should not try to be Haskell, Scala and Eiffel at the same > time. DbC is not something most of the users of the language require and > would ever use, unlike Eiifel where it is major part of what the > language is. Giving a possibility of implementing it using attributes is > fine. But bringing yet another conceptual framework into PHP looks like > overkill to me. >
Yes, we should not be copy cats. However, we already have `assert()` and people are just discovering it, despite being there forever. I am not proposing the previously mentioned syntax as a real RFC yet, simply because I do not think that it is the right time to do so. However, I do believe that DbC does not belong into meta-attributes. My question remains: why DbC in meta? What could be any advantages? -- Richard "Fleshgrinder" Fussenegger
signature.asc
Description: OpenPGP digital signature