[TYPO3-dev] [TYPO3-core] New TYPO3 Coding Guidelines

Mathias Schreiber [wmdb >] mathias.schreiber at wmdb.de
Mon Jul 13 09:33:12 CEST 2009


Bastian Waidelich schrieb:
> $message = sprintf($GLOBALS['LANG']->getLL('message'), $name)
> is more readable (I know about the performance penalty, but if printf is 
> the bottleneck of your application there must be something wrong ;)

a single printf ain't a problem.
Just like a single killed whale ain't a problem.

Never underestimate the wonder of addition.

Did you know what the two mostly called functions are in TYPO3 requests?
is_array() (which is ok) and strlen().

"One strlen can't hurt"

Think about it :)

cheers
Mathias

-- 
TYPO3 certified interogator
T3DD09 Entertainer




More information about the TYPO3-dev mailing list