Re: RFC: expectations/assertions
| From: | Joe Watkins | Date: | Sun, 02 Feb 2014 11:50:54 +0000 |
| Subject: | Re: RFC: expectations/assertions | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-71994@lists.php.net to get a copy of this message | ||
On 02/02/2014 11:25 AM, Joe Watkins wrote:
Morning Internals [, and Dmitry :)],Woops2, https://gist.github.com/krakjoe/c6bcbb4e6d019c9297db Dunno what happened there .. Cheers JoeI came across a reason to think about assertions again today, myoriginal, pretty radical, patch was worked on by dmitry, I updated the RFC a while ago but allowed the conversation to die down.Nikita pointed this out around the same time:https://gist.github.com/krakjoe/4a2145e5a6ddc26b1dc1Still, there's no reason for us to have a crappy assertion api aspart of the core just because there's a way around it(-ish) in user land.So, I think now is a good time to revive the discussion, the patchis pretty unobjectionable, and has been updated for master.I'd like to move this to a vote pretty swiftly, any objections ?Cheers Joe