Conversation started Jan 29, 2015 at 18:17.
user895378
Jan 29, 2015 18:17
> In my rainbows and ponies vision of the future, it would go something
> like this:
>
> 1) PSR-7 is approved. People use it. People love it.
>
> 2) Internals makes internal definitions of the interfaces from PSR-7,
> renamed to a PHP namespace but otherwise identical. Eg:
user895378
^ this drives me nuts.
user895378
This is the ponies vision for every FIG proposal. "Hey we wanked about with some abstractions that a lot of people have problems with from a design perspective. I can haz in C plz?"
user895378
The PSR-7 is just wrong. It's wrong for PHP. It's wrong for America. I do HTTP all day every day and it's wrong. You can agree or disagree, but if you disagree with this opinion you are wrong too.
9
user895378
</rant>
@marcio I know what you mean, but I'm not sure it's worth it. For people who are against the RFC, they will bring that up on the list anyway. For people who are for it, listing a silly negative thing like that might put doubt in their mind.
@rdlowrey You're saying it's more of a Canadian thing 'eh?
user895378
Jan 29, 2015 18:21
The problem is that overreaching abstractions DON'T belong in core. That's what userland is for. Your abstraction is not right for me, FIG. Don't try to force it on everyone by shoehorning it into php-src. Do it yourself in userland and STFU about putting it into core.
@rdlowrey this is so Obama
@Danack yea, let's not feed it
user895378
This is really the one thing about the php community that makes me seethe ... you don't know what's best for my code, FIG. You know what's best for an enforced level of mediocrity in generalized frameworks. Stop trying to make my code the same as yours.
@rdlowrey is http we can believe in
@marcio Oh, it turns out phar_get_stub isn't evil like you think
It's not eval'd, it's used to generate code to put in a phar by default
@AndreaFaulds oh, but the problem is the code itself not the way it's used
Jan 29, 2015 18:27
Alright
if you use the phar stub you get the global ns polluted and it's like the index of your phar
@rdlowrey Daniel Lowrey for president 2016
@marcio Well you have to stick the vars somewhere...
@AndreaFaulds do you prefer "batch use statements" or "group use statements"?
@AndreaFaulds it could be inside a closure
user895378
@AndreaFaulds I operate on the principle that anyone who thinks they're well-equipped to tell others what to do almost certainly is not. This informs my feelings about FIG to a large extent.
user895378
Teach, educate, assist. Never mandate.
user895378
Jan 29, 2015 18:30
^ people should try to keep this in mind.
user895378
Standardization is one thing. Enforcing abstractions that aren't necessarily best for everyone by hardcoding them into the language is another.
 
Conversation ended Jan 29, 2015 at 18:30.