Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:69727 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53056 invoked from network); 21 Oct 2013 10:33:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Oct 2013 10:33:32 -0000 Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 192.64.116.206 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 192.64.116.206 imap2-4.ox.registrar-servers.com Received: from [192.64.116.206] ([192.64.116.206:47276] helo=imap2-4.ox.registrar-servers.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B9/B0-44908-AF205625 for ; Mon, 21 Oct 2013 06:33:32 -0400 Received: from app1.ox.registrar-servers.com (unknown [198.187.29.231]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by oxmail.registrar-servers.com (Postfix) with ESMTPSA id 9F6605A005E for ; Mon, 21 Oct 2013 06:33:27 -0400 (EDT) Date: Mon, 21 Oct 2013 11:33:27 +0100 (BST) Reply-To: Andrea Faulds To: internals@lists.php.net Message-ID: <143422626.144296.1382351607503.open-xchange@oxwebmail.registrar-servers.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.4.0-Rev12 Subject: Re: [PHP-DEV] RFC: Expectations From: ajf@ajf.me (Andrea Faulds) -1 to "expect is a problem". expect is not a problem. > Le 21 octobre 2013 =C3=A0 10:42, Joe Watkins a =C3=A9cr= it=C2=A0: >=20 >=20 > On 10/21/2013 09:57 AM, Tjerk Meesters wrote: > > On Mon, Oct 21, 2013 at 4:16 PM, Michael Wallner wrote: > > > >> On 21 October 2013 10:13, Patrick Schaaf wrote: > >>> Am 21.10.2013 03:52 schrieb "Joe Watkins" : > >>>> > >>>> So looks like we need a new name ?? Ideas ?? > >>> > >>> abstract EXPRESSION > >> > >> wat? > >> > >> > >>> abstract is already a keyword, so no BC. > >>> > >>> abstract is not concrete so alludes a bit to the > >>> might-be-or-might-not-be-checked nature of the test > >>> > >>> abstract is the name for the "short summary" intro part of scientific > >>> papers, and these conditions are kind of a summary of what is known > >>> (preconditions) and concluded (postconditions). > >> > >> Ah, ok well. I'd rather go for expected() or except() then... > >> > > > > Since we're throwing around terms, here's another one: > > > > predicate ; > > > > It should be understood by most programmers what it means (though, > > admittedly, it doesn't carry an obvious severity) and isn't used anywhe= re > > in the language (afaik). > > > > > >> > >> > >> -- > >> Regards, > >> Mike > >> > >> -- > >> PHP Internals - PHP Runtime Development Mailing List > >> To unsubscribe, visit: http://www.php.net/unsub.php > >> > >> > > > > > I suggest we process thusly: >=20 > =09We need some consensus as to whether this is actually a problem or not > before we get lost in suggestions ... > =09Should we decide it's a problem then we need to decide if using the > keyword "expected" solves the problem ... > =09Should there still be a problem we should compile a short list and get > a consensus on it before proceeding to make necessary changes. >=20 > So first of all, can we get a quick +|-1 on: >=20 > =09Using "expect" is a problem > =09Using "expected" solves the problem >=20 > We can proceed from there I think ... >=20 > Cheers > Joe >=20 >=20 >=20 >=20 >=20 > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >