Re: RFC: lazy statements
| From: | Dan Ackroyd | Date: | Sun, 24 Jul 2016 11:25:09 +0000 |
| Subject: | Re: RFC: lazy statements | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-94674@lists.php.net to get a copy of this message | ||
On 24 July 2016 at 06:14, David Rodrigues <david.proweb@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