On 24 July 2016 at 06:14, David Rodrigues <david.pro...@gmail.com> wrote:
> Now back to topic, this circular dependency too occur with functions.

Yes, but the difference is in the surprise factor.

Two functions having a circular dependency ==> not too astonishing,
and easy to think about.

Reading the value of a variable having a circular dependency ==> give
up programming to become a farmer.

cheers
Dan

https://en.wikipedia.org/wiki/Principle_of_least_astonishment

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

Reply via email to