I also agree on the DateTime thing, and I, too, wonder why we need a
procedural API for this - especially since it makes error handling so
much easier (exceptions everywhere and done).
Sure. If you happen to be one of the few PHP users who puts everything into
try/catch blocks as a matter of course.
Wearing my 'editor/educator' hat, can I just point out that we're still
teaching long-time PHP users from all over the planet what exceptions even
are?
Can I also point out that *every* uncaught exception is a fatal error?
This isn't how PHP used to be. This is a whole new way of coding, and you'd
like to force it onto people who never did that CS degree, but who coped
just fine until now. How sweet.
So please, yes, keep the procedural way as an option, make it possible for
people to use PHP without their having to be computer scientists first. The
moment the language loses that, it has nothing special to offer any more.
- Steph
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php