On 08/03/15 01:15, Yasuo Ohgaki wrote:
> Let's agree to disagree. Otherwise, discussion will be circular.
> 
> I would like to keep/maintain legacy procedural functions forever.
> You would like to replace/remove legacy procedural functions by OO like API
> if it's possible.

Discussions like this need to be on two levels.

Creating a clean OO based API is like unicode, one of those things
everybody wants, but no one has come up with the ideal solution to take
it forward? I'd even include PDO in that 'debate' as it blocks actions
that the procedural interface can currently provide so the main
development is still on the generic drivers. But the current array
objects are not gaining traction either?

Removing the procedural interface is certainly the point where I would
simply stop upgrading and switch to maintaining an older version. It's
no secret that I wish I had stepped in and carried on with security
updates to PHP5.2 ... it still runs a lot of sites without any problems!

'Fixing' the procedural interface is something somewhat borderline,
which is why I asked 'what is the coding standard?' If the main track
going forward IS to push a fully OO API as the main interface, then the
need for making changes to the procedural interface is lessened? Only if
the primary interface is to remain procedural is the debate on
consistent function names relevant. So I'd prefer pushing that 'problem'
to an OO API and being a lot lighter on ANY of the changes to the
current function set, and simply maintain it as is.

I'm 60 this year so that does determine some of my choices, and at the
moment PHP (along with windows) is a tiring slog of trying to upgrade
rather than the pleasure that was 10 years ago when freed from the
straight jacket of 'C++'. Everybody seems intent on reimposing the
straight jacket of strict types and constrained error handling :(

-- 
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

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

Reply via email to