> On Jul 29, 2017, at 05:27, Dan Ackroyd <dan...@basereality.com> wrote:
> 
> Designing classes/interfaces to be correct the first time is a really
> difficult thing to do, and then maintaining classes/interfaces is hard
> as any change to a method is a BC break.

Having done it several times before in userland helps.  Presenting the 
superglobals as read-only properties does the trick for the `request` 
extension; it's even simpler than using methods.


-- 
Paul M. Jones
pmjone...@gmail.com
http://paul-m-jones.com

Modernizing Legacy Applications in PHP
https://leanpub.com/mlaphp

Solving the N+1 Problem in PHP
https://leanpub.com/sn1php




--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to