[TYPO3-50-general] RFC: Improved Shorthand Syntax

Ries van Twisk typo3 at rvt.dds.nl
Fri Oct 23 17:29:03 CEST 2009


On Oct 20, 2009, at 4:03 AM, Sebastian Kurfürst wrote:

> Hey everybody,
>
> I've been thinking again over the syntax, and overally, I still like  
> it
> very much.
>
> There is just one thing I am not really sure about: Should we use ->  
> or
> | for chaining?
>
> I mean, | is known from the command-line, whereas "->" shows that data
> is passed around as well, but in PHP, "->" does something totally
> different (calling an method on an object)...
>
> So, I am still undecided if | or -> is better. Some comments? :-)
>


Use |, using -> would confuse things to much IMHO,
My 'brain' (if any) would think I access a method/variable in a object.

Ries



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