[TYPO3-core] FYI: Cleanup (wrong global statement) in new TYPO3AJAX class
Ingo Renner
ingo at typo3.org
Wed Feb 13 18:27:46 CET 2008
Dmitry Dulepov [typo3] wrote:
>> 2. Adds LANG as this is used twice here, which is multiple usages IMHO
>> and thus makes the code easier to read.
>
> This is what I did not like (just got rid of some globals in tt_news).
> We require four as absolute minimum to allow "global" but we try not to
> use it at all because it is not immediately clear if variable is global
> or not.
I agree with Dmitry, I don't like these global statements either...
Ingo
--
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2
More information about the TYPO3-team-core
mailing list