On 5/27/2016 10:35 AM, Tony Marston wrote:
> I disagree completely. In a database system there is no rule that says
> an object can only hold data from a single row otherwise Martin Fowler,
> the author of PoEE, would not have patterns that hold data from several
> rows. When I instantiate one of my table classes it is a valid but empty
> object. There are two actions I can perform - inject data from the
> client via the $_POST array, or tell it to retrieve data from the
> database. This may involve just a single row, or multiple rows. When
> reading from the database it may even result in zero rows.
> 

Yes?!? That is how everybody does it.

On 5/27/2016 10:35 AM, Tony Marston wrote:
> You are trying to change the language to suit the way that you work
> without considering the fact that your way is not the only way and this
> change may not suit the way that others work. As far as I can see this
> proposal not only does not solve a genuine problem, it adds levels of
> complexity that will do nothing but increase the WTF! factor for untold
> numbers of programmers who have been happily using the language for years.
> 

Oh come on, this story again? Please, just keep on using PHP in the way
you like it without making use of these new features. Nothing is
changing and if all your problems are solved, good. And please, please
don't start the PHP 5.2 was so much better discussion now and claiming
that we all are incapable programmers.

We know it by now. ;)

-- 
Richard "Fleshgrinder" Fussenegger

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to