# RFC: Vote: Expectations

- Thread: https://externals.io/message/69994
- Original archive: https://news-web.php.net/php.internals/69994
- Started by Joe Watkins on 2013-11-01T12:49:09+00:00
- Messages: 11
- RFC: Expectations (Implemented (PHP 7.0)) — https://externals.io/rfc/expectations.md
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #69994 — Joe Watkins — 2013-11-01T12:49:09+00:00

URL: https://externals.io/message/69994#69994

Afternoon,

	Vote opens for Expectations ...

	https://wiki.php.net/rfc/expectations#vote

	If we could try and keep communication up that'd be good :)

Cheers
Joe

---

## #70002 — Ferenc Kovacs — 2013-11-04T09:06:02+00:00

URL: https://externals.io/message/69994#70002 · In reply to: #69994

> Afternoon,
>
>         Vote opens for Expectations ...
>
>         https://wiki.php.net/rfc/expectations#vote
>
>         If we could try and keep communication up that'd be good :)
>
> Cheers
> Joe
>
> --
> 
> 
>
>
uhm, did you just delete this rfc?
https://wiki.php.net/rfc/expectations?do=diff&rev2%5B0%5D=1383415199&rev2%5B1%5D=&difftype=sidebyside
I've behind a bit on the recent discussions, so maybe I've just missed some
mail where this was mentioned.

-- 
Ferenc Kovács
@Tyr43l - http://tyrael.hu

---

## #70003 — Ryan McCue — 2013-11-04T09:20:21+00:00

URL: https://externals.io/message/69994#70003 · In reply to: #70002

Ferenc Kovacs wrote:
> uhm, did you just delete this rfc?
> https://wiki.php.net/rfc/expectations?do=diff&rev2%5B0%5D=1383415199&rev2%5B1%5D=&difftype=sidebyside
> I've behind a bit on the recent discussions, so maybe I've just missed some
> mail where this was mentioned.
> 

I suspect it's related to this:
https://twitter.com/krakjoe/status/396701273677762561

-- 
Ryan McCue
<http://ryanmccue.info/

---

## #70004 — Pierre Joye — 2013-11-04T09:39:49+00:00

URL: https://externals.io/message/69994#70004 · In reply to: #70003

> Ferenc Kovacs wrote:
> > […]
>
> I suspect it's related to this:
> https://twitter.com/krakjoe/status/396701273677762561

Sad.

I have hard time to understand what happened here. I just came back
from a very busy time&weekend, was about to vote (positively) on this
feature and noticed the RFC was withdrawn and his author left php.net.

As I can understand the frustration of having to discuss something
with people not agreeing with you, I do not understand, and will
barely ever do, the "accept or I leave" way of doing things. There
were good discussions for this proposal and other, but if we can't
discuss things anymore without fearing to loose a contributor, then I
do not see any kind of solutions to get out of this. But I will let
Joe explains his reasoning here, if he wishes to.

-- 
Pierre

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

---

## #70005 — Yasuo Ohgaki — 2013-11-04T11:24:31+00:00

URL: https://externals.io/message/69994#70005 · In reply to: #70004

> 
> > […]
> https://wiki.php.net/rfc/expectations?do=diff&rev2%5B0%5D=1383415199&rev2%5B1%5D=&difftype=sidebyside
> > […]
> some
> > […]
>
> Sad.
>
> I have hard time to understand what happened here. I just came back
> from a very busy time&weekend, was about to vote (positively) on this
> feature and noticed the RFC was withdrawn and his author left php.net.



Bad news.

Anyway, if anyone would like to propose this kind of feature, I would
appreciate
if the RFC supports "Design By Contract" fully.

Regards,

--
Yasuo Ohgaki
yohgaki@ohgaki.net

---

## #70006 — Joe Watkins — 2013-11-04T11:33:46+00:00

URL: https://externals.io/message/69994#70006 · In reply to: #70004

> 
> > […]
>
> Sad.
>
> I have hard time to understand what happened here. I just came back
> from a very busy time&weekend, was about to vote (positively) on this
> feature and noticed the RFC was withdrawn and his author left php.net.
>
> As I can understand the frustration of having to discuss something
> with people not agreeing with you, I do not understand, and will
> barely ever do, the "accept or I leave" way of doing things. There
> were good discussions for this proposal and other, but if we can't
> discuss things anymore without fearing to loose a contributor, then I
> do not see any kind of solutions to get out of this. But I will let
> Joe explains his reasoning here, if he wishes to.
>

Morning Pierre,

	I spent a considerable amount of time working on documentation, closing 
bugs, responding to feature requests, and generally trying to be useful 
in any area where I could be useful, I done this for more than a year.

	Note that of the 8 pull requests I closed the other day, only one of 
them was for an RFC.

	I have no such attitude, at all, I think you know that, and suspect you 
used this to draw me into a conversation I had said I had left.

	It is likely that it is good for PHP that someone cannot come along and 
make radical changes, introduce new ideas; it destabilizes PHP, fair 
enough. I gladly withdrew the nested classes RFC after anons failed, I 
listened, responded appropriately. I got on with other things ... it 
just so happened that in the conversation following anons failing, 
somebody on twitter mentioned it would be nice to have an assertion API, 
so I looked, we have an assertion API.

	PHP should have an assertion API close to Java, not C, that's obvious. 
What may not be obvious is that in a high level language assert is not 
used in the same ways as in C, I used the Java documentation of the same 
feature to drive this point home, it could not have been explained 
better, if you were actually listening.

	The current assertion API by anyone's standards is piss poor. You 
cannot deploy it if you are sane, I don't much care what people think 
about that, or if they are deploying it now and don't see a problem. The 
assertion that it is piss poor is based on reading the code, on an 
understanding of how that code works, on many years of experience 
pushing PHP to it's absolute limits, both on the bench and at work. I 
absolutely know for sure that what it is doing it not optimial, or even 
acceptable as an implementation of assert that is intended to be used. 
In my mind there is no question, it needs to be replaced. Obviously, I 
done it, I discussed it with many people, spoke to one of the teams 
developing unit testing software about names and patterns, made changes 
for them, I done everything properly.

	To be truthful I was out of energy before this RFC went ahead, but I 
thought I'd give it one last bash, you'd have to be properly insane to 
say no, lets keep the old implementation ... but guess what, I got an 
insane reaction ...

	I don't like to argue with people, it is as simple as that. I have no 
time for, and no interest in, fortnight long debates about the obvious. 
I have all the time in the world for writing code, for solving problems, 
but absolutely none for arguing, for pointing out the obvious to those 
who should be qualified enough to observe it for themselves, for 
bickering about things that just simply, don't matter. This is not 
activity I would have engaged in, ever. I see no reason to continue 
making an exception: Pushing an elephant up a staircase is draining, I'm 
out of energy ...

Cheers
Joe

---

## #70007 — Pierre Joye — 2013-11-04T12:27:15+00:00

URL: https://externals.io/message/69994#70007 · In reply to: #70006

>

>         I don't like to argue with people, it is as simple as that. I
have no time for, and no interest in, fortnight long debates about the
obvious.

Discussions are not about arguing. But that's your call. Sad, but still
your call.

Enjoyed your work a lot, hoping you will change your mind.

Cheers,
Pierre

---

## #70010 — Joe Watkins — 2013-11-05T07:32:26+00:00

URL: https://externals.io/message/69994#70010 · In reply to: #70007

> 
> > […]
>
> > […]
> have no time for, and no interest in, fortnight long debates about the
> obvious.
>
> Discussions are not about arguing. But that's your call. Sad, but still
> your call.
>
> Enjoyed your work a lot, hoping you will change your mind.
>
> Cheers,
> Pierre
>

Morning Pierre,

	I got some sound advice yesterday, from many people, and yourself ... I 
also got the opportunity to realize that I don't have to listen to dick 
heads on the internet if I don't want too. So I won't.

	I'm going nowhere, I enjoy working with PHP, even if I'm not getting 
anywhere :)

	I have put the RFC back to under discussion, I'll discuss it with 
people who have relevant input and bring it up for vote when it is 
ready. Sorry about the drama, let's crack on ...

Cheers
Joe

---

## #70011 — leszek@php.net — 2013-11-05T07:42:41+00:00

URL: https://externals.io/message/69994#70011 · In reply to: #70010

> 	I got some sound advice yesterday, from many people, and yourself ... I
> also got the opportunity to realize that I don't have to listen to dick
> heads on the internet if I don't want too. So I won't.
>
> 	I'm going nowhere, I enjoy working with PHP, even if I'm not getting
> anywhere :)
>
> 	I have put the RFC back to under discussion, I'll discuss it with
> people who have relevant input and bring it up for vote when it is
> ready. Sorry about the drama, let's crack on ...

Yay! It's good to hear this :) Keep up the good work.

--Leszek

---

## #70012 — Yasuo Ohgaki — 2013-11-05T07:56:41+00:00

URL: https://externals.io/message/69994#70012 · In reply to: #70010

Hi Joe,



>         I got some sound advice yesterday, from many people, and yourself
> ... I also got the opportunity to realize that I don't have to listen to
> dick heads on the internet if I don't want too. So I won't.
>
>         I'm going nowhere, I enjoy working with PHP, even if I'm not
> getting anywhere :)
>
>         I have put the RFC back to under discussion, I'll discuss it with
> people who have relevant input and bring it up for vote when it is ready.
> Sorry about the drama, let's crack on ...
>

Good news!

Anyway, I would like to have "Design By Contract" support in PHP.
It's similar to assertion, but it's differ.

http://en.wikipedia.org/wiki/Design_by_contract

Many modern languages support DbC, since it enables build efficient and
robust applications.

Please consider it.

Regards,

--
Yasuo Ohgaki
yohgaki@ohgaki.net

---

## #70013 — Yasuo Ohgaki — 2013-11-05T08:18:02+00:00

URL: https://externals.io/message/69994#70013 · In reply to: #70012

Hi Joe,



> Hi Joe,
>
> 
>
> > […]
>
> Good news!
>
> Anyway, I would like to have "Design By Contract" support in PHP.
> It's similar to assertion, but it's differ.
>
> http://en.wikipedia.org/wiki/Design_by_contract
>
> Many modern languages support DbC, since it enables build efficient and
> robust applications.
>
> Please consider it.
>

Even though I cannot read manual, this project seems very interesting.

https://github.com/hoaproject/Praspel

http://hoa-project.net/

Regards,

--
Yasuo Ohgaki
yohgaki@ohgaki.net
