[TYPO3-50-general] Competition: Best replacement for "and"/"or" wanted!

ries van Twisk typo3 at rvt.dds.nl
Wed Jul 23 15:31:56 CEST 2008


intersection and union is often used for sets.

'and' and 'or' are not set oriented operators.

so I feel that intersect and union is misleading.

Ries
On Jul 23, 2008, at 6:13 AM, Christoph Blömer wrote:

> Hi,
> what about:
>
> and = intersect
> or = union
>
> Thats more from the view of the theory of sets.
> If I use "and" I restrict the set of available Rows in the database.
> When I use "or" I expand the set of available Rows.
>
> Regards,
> Christoph
>
> Karsten Dambekalns schrieb:
>> Hi Ries.
>>
>> ries van Twisk wrote:
>>
>>> What about,
>>>
>>> $query->_and($query->equals('name', $var)->equals('tag', $var2));
>>>
>>
>> I had thought about that, but usually (in the PHP world), the leading
>> underscore denotes protected/private methods. So it might be  
>> misleading
>> to some...
>>
>> Regards,
>> Karsten
>> _______________________________________________
>>







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