tgoop.com/phpme/250
Create:
Last Update:
Last Update:
Global States: Why and How to Avoid Them
Global states. These words induce fear and pain in every developer’s heart who had the unfortunate experience to deal with them.
Did you already fight against applications behaving unexpectedly, without knowing exactly why, like a poor knight would try to kill an Hydra with too many heads to deal with?
Did you end up in the infinite loop of tries and errors, guessing 90% of the time what was happening?
This could be the annoying consequences of globals: hidden variables changing their states in unknown places, depending on things you don’t yet understand.
BY Amazing PHP
Share with your friend now:
tgoop.com/phpme/250