Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:92980 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10358 invoked from network); 30 Apr 2016 11:34:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Apr 2016 11:34:18 -0000 Authentication-Results: pb1.pair.com header.from=php@fleshgrinder.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=php@fleshgrinder.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain fleshgrinder.com from 77.244.243.86 cause and error) X-PHP-List-Original-Sender: php@fleshgrinder.com X-Host-Fingerprint: 77.244.243.86 mx105.easyname.com Received: from [77.244.243.86] ([77.244.243.86:46368] helo=mx207.easyname.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B0/97-58459-93894275 for ; Sat, 30 Apr 2016 07:34:17 -0400 Received: from cable-81-173-133-226.netcologne.de ([81.173.133.226] helo=[192.168.178.20]) by mx.easyname.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1awTA0-0003Cc-RS; Sat, 30 Apr 2016 11:34:09 +0000 Reply-To: internals@lists.php.net References: <571BA0F0.2030400@fleshgrinder.com> <571C82A7.2060706@fleshgrinder.com> <571CB44C.1000704@fleshgrinder.com> <571CBD1E.7020103@fleshgrinder.com> <571DD2A3.2020106@zend.com> <571DEC9E.80407@zend.com> <572267BA.6000701@fleshgrinder.com> <57227D69.8090109@gmail.com> To: Stanislav Malyshev , internals@lists.php.net, Joe Watkins Message-ID: <57249822.1060002@fleshgrinder.com> Date: Sat, 30 Apr 2016 13:33:54 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <57227D69.8090109@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="dqhmw0IQJfLLE9DTONf2xmJ3dmLccj3fW" X-ACL-Warn: X-DNSBL-BARRACUDACENTRAL Subject: Re: Fwd: [PHP-DEV] [RFC] PHP Attributes From: php@fleshgrinder.com (Fleshgrinder) --dqhmw0IQJfLLE9DTONf2xmJ3dmLccj3fW Content-Type: multipart/mixed; boundary="U1TpnUd1V0wNRcc6qcFIxl35UtjX0Sl6t" From: Fleshgrinder Reply-To: internals@lists.php.net To: Stanislav Malyshev , internals@lists.php.net, Joe Watkins Message-ID: <57249822.1060002@fleshgrinder.com> Subject: Re: Fwd: [PHP-DEV] [RFC] PHP Attributes References: <571BA0F0.2030400@fleshgrinder.com> <571C82A7.2060706@fleshgrinder.com> <571CB44C.1000704@fleshgrinder.com> <571CBD1E.7020103@fleshgrinder.com> <571DD2A3.2020106@zend.com> <571DEC9E.80407@zend.com> <572267BA.6000701@fleshgrinder.com> <57227D69.8090109@gmail.com> In-Reply-To: <57227D69.8090109@gmail.com> --U1TpnUd1V0wNRcc6qcFIxl35UtjX0Sl6t Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 an= d > would ever use, unlike Eiifel where it is major part of what the > language is. Giving a possibility of implementing it using attributes i= s > fine. But bringing yet another conceptual framework into PHP looks like= > overkill to me. >=20 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? --=20 Richard "Fleshgrinder" Fussenegger --U1TpnUd1V0wNRcc6qcFIxl35UtjX0Sl6t-- --dqhmw0IQJfLLE9DTONf2xmJ3dmLccj3fW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXJJglAAoJEOKkKcqFPVVrwNMP/RAktbiweF9IRoEbLDSszGlr hsJ4M0+CfTf4ZdWL4pIRGWc7LZTAMyCAUbwgTOACLXud8pBhIgyOKkkgPZ2ofsHH qwVB8GwzW5m4qQ9dOqP6wljx9wjXn1MQMrz1pCIlt4HVFPKd1+UDck72kRSWG6pl rg/HHWs2itFbFqn9ixpOX2FFZNWc/EjvnpSWcKq2XB6Gpz95kqZ76zyqHHPPvLqO VkT1+TdNGjV6W5MGZtKPlHP+NdlG1OQXx4TlHjwUobqm5rCub5TamrI9vW2scB4A femnlQBozeF7VvOgT7M7F30OoufPZGrD+9ejtnUKn+9UqYIFclEp3PXI6dKMfjie pPD0SSfVr+4b0O5BTvG9kSj+CUUfQWaKb6pe4VGfHn2oeT0dtEPWhU7bkOTLiQ29 bCP3J1zS66pJMpkzMm0nhHb3CMARM5hB6IOL9BZRVbxhnnFTHg2sYnt7pxM6sfns iLTfUNbKThhbvVAng1CJsJSuWG9ISsZTnJmvhquvpa9+JzCfnHf+LOyqzDuPm5VD AHrRbU8Twxqr9qvBOkaxgW1n2BuzUV0bOeQk6YfFYqYyS9ug2lvzwHhExzjE6UZz 1OOjjSuzq/oyQpHreZhcKvtAq0Ntx3nqARjy4fcHN/D8Qf8hJEnxjz52lWx79jwi 3O2x3NirXqroaJTO4aqj =/2QP -----END PGP SIGNATURE----- --dqhmw0IQJfLLE9DTONf2xmJ3dmLccj3fW--