Hi!

> How ignoring values is a perfectly valid scenario?

You are saying you're using return value for every function you're
calling, always? Please. How many times you used return value of sort()?
Every function with side effects can be used for its side effects, not
for its return value.

> new paradigms. But we must provide features to make php relevant for a
> wider audience. And it is possible to do it without making it less easy

This sounds like cargo cult, sorry - because other languages have
"void", we have to have "void" and then their users would come to us.
That's exactly how cargo cult works - copying external appearances
without considering underlying processes. In PHP, there's no meaning to
void function except for self-enforcing documentation, and documentation
should be properly done by other means and should not produce fatal errors.

> to use. We had the same discussion about OO when we developed 5.0, see
> where we are now. Stronger than ever.

No, it's not like OO at all. OO is a huge conceptual framework with very
wide use and it can help with developing code and making people more
productive. Having "void" just helps with having "void".
-- 
Stas Malyshev
smalys...@gmail.com

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

Reply via email to