Hi folks.

There have been a lot of RFCs and possible RFCs of late that are all circling 
around the same related problem space: Working with objects right now involves 
too much boilerplate to get things done.  As I've mentioned several times, I 
believe we need to be looking for broader solutions rather than 
narrowly-focused one-offs.

To that end, I have written an extensive analysis of the problem space and the 
current and recent proposals.  I've put it on my blog rather than inline here 
because it's quite long and the blog offers better formatting.

Discussion can happen here, but I'll also respond to comments there.

In short: I believe our biggest potential win is to focus on 3 RFCs:

* Constructor Promotion
* Named parameters
* Compound Property Visibility

For details, see the full writeup:

https://hive.blog/php/@crell/improving-php-s-object-ergonomics

Thank you for your attention.

-- 
  Larry Garfield
  la...@garfieldtech.com

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

Reply via email to