Alain Williams wrote:
On Thu, Dec 09, 2010 at 05:40:09PM +0100, Reindl Harald wrote:
Am 09.12.2010 17:19, schrieb Andrey Hristov:
one day you might have to support globalized applications and I am sure you will feel very enlightened to fix them :)
This is my problem and not yours

There are thousands of scripts that are not big applications
and running well, are secure and clear designed and simply
working since years

+1

So why in the world would you like to kill them braindead without
any valid reason, and "i do not like something" is not a valid
reason because nobody forces you to use such things in your
scripts

Not using (a small number of) globals needs either:

* functions that take everthing that they need in arguments.
  I tried that 30 years ago and never did it again, functions
  with 15 arguments are unweildy &* hard to maintain.
* Use OO.
  That means a whole step up in design, not always justified in small
  scripts. OO is not always the answer.

If all your functions take 15 params I am worried that your program design is flawed, sorry.

Andrey

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

Reply via email to