[TYPO3-50-general] TypoScript syntax: Array indexes

Elmar Hinz elmar07 at googlemail.com
Thu Jul 19 14:31:18 CEST 2007


> 
> I fully agree. The more syntax we borrow from PHP or any other
> programming
> language the more people will confuse the one with the other. The only
> argument which justifies changing the syntax must be that it improves
> easy-of-use, consistency and intuitivity.
> 
> robert

Hi,

my personal feeling is, that one reason to invent TS was, to make writing
PHP as easy as writig JavaSript:

one.two.three instead of $one['two']['three'] or $one->two->three.

So we should ask, if it is a good idea to mix PHP elements into a scripting
language, that is rather JS orientated originally. Shouldn't we search in
the field of JS for syntax solutions first?

Regards

Elmar







More information about the TYPO3-project-5_0-general mailing list