You are here: Re: Recursionalism « PHP Programming Language « IT news, forums, messages
Re: Recursionalism

Posted by Rami Elomaa on 05/04/07 10:17

"Toby A Inkster" <usenet200703@tobyinkster.co.uk> wrote in message
news:na6rg4-8oj.ln1@ophelia.g5n.co.uk...
> Mohawk Moak wrote:
>
>> this method worked good, i did not realize to set the global twice.
>
> You don't -- you only need to use it inside the function. Jon's use of
> "global" outside the function is entirely redundant, though doesn't cause
> any harm.


If you want to get technical, it's actually not even redundant, since it
does _nothing_. If it repeated something that already was done, then it
would be redundant.

And as for the harm, since it does nothing but litter the source code,
better take it out. That way it doesn't confuse the next person reading the
source...

--
Rami.Elomaa@gmail.com

"Good tea. Nice house." -- Worf

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация