Amit Upadhyay wrote:
> On 12/14/05, Jeroen Ruigrok van der Werven <[EMAIL PROTECTED]> wrote:
>
>>On 12/14/05, Robert Wittams <[EMAIL PROTECTED]> wrote:
>>
>>[ p1.article_set.order_by('headline') ]
>>
>>
>>>Is your confusion between set the verb and set the noun ? I don't really
>>>know how to fix that without refactoring the English language. I don't
>>>know what else could be done here - pluralisation is a no no, etc etc.
>>>If you can come up with a better automatic name than <whatever>_set, let
>>>me know.
>
>
>
> How about <whatever>_list. They are python lists anyway so that would help
> too.
>
Did you even read my post? They aren't lists. They are possibly ordered
sets. To be a list, it would need to always have a meaningful order, and
it would also need to be able to have duplicates. This is not possible
in a relational system. Also list syntax is pretty rubbish for this,
.append() seems a lot wierder than .add(), and it will act totally
differently depending on the natural or supplied ordering of the set.
This is not list semantics at all, so we shouldn't pretend it is.