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. -- Alain Williams Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer. +44 (0) 787 668 0256 http://www.phcomp.co.uk/ Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php #include <std_disclaimer.h> -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php