[TYPO3-core] RFC: New Feature #0752: scope of BE-and FE-Cookie:can't cope with multidomain-setup

Martin Kutschker Martin.Kutschker at blackbox.net
Mon Dec 12 21:33:05 CET 2005


Sebastian Kurfuerst <sebastian at garbage-group.de> writes on 
Mon, 12 Dec 2005 20:15:51 +0100 (MET):

> Hi,
> didn't you just say that we use if () ... when there is just one
> thing happening?


Yes, but only if there is no else clause. Sorry.

So, IMHO, it's either

if (expression) statement; // one statement!

or

if (expression) {
statement(s) // one or more statements
} else {
statement(s) // one or more statements
}

I think we should not use this

if (expression) statement; // one statement!
else statement; // one statement!

I hope we agree.

Have I confused everybody now completely?

Masi 



More information about the TYPO3-team-core mailing list