[TYPO3-core] RFC Feature #16189: Optimize stdWrap usage for TypoScript content element CLEARGIF
Steffen Kamper
info at sk-typo3.de
Mon Nov 1 01:25:32 CET 2010
Hi Joey,
i suggest this layout for better readability:
$var .... ==== TRUE
? the longer truee part
: the longer else part;
From performance this operator isn't faster than if/else, it's only a
shortcut and is processed the same.
So for longer expressions if/else indeed are better readable.
All in all also a kind of taste.
vg Steffen
More information about the TYPO3-team-core
mailing list