Am 04.08.2011 18:35, schrieb Stas Malyshev:
No, it's not even remotely like that. Using one intermediary function and doing the DB call is orders of magnitude apart. You asked how you can solve the problem, I showed you how. You can claim you don't like the solution, that's fine, everybody has his own taste. But you can't claim there's no other solution.
Right. I don't like doing design-stuff how they do it in java either, but a little bit of it hasn't hurt anybody, and it's conciseness helps readability alot.
I am sure you understand the problem quite well but it's not one of yours, obviously. That's fine too. But you can't claim the use-case is not valid.
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php