Re: What databases have taught me
From: Bruno Desthuilliers <onurb_at_xiludom.gro>
Date: Mon, 26 Jun 2006 11:52:44 +0200
Message-ID: <449fae6d$0$9033$626a54ce_at_news.free.fr>
>>Aloha Kakuikanu wrote:
>>
>>>Dmitry A. Kazakov wrote:
>>>
>>>
>>>>On 23 Jun 2006 10:00:32 -0700, Aloha Kakuikanu wrote:
>>>>
>>>>
>>>>
>>>>>queisser wrote:
>>>>>
>>>>>
>>>>>> Things like "devices" or "windows" or "customers" can be reasonable
>>>>>>classes in a hierarchy but at the top level things are not as clear.
>>>>>
>>>>>I challenge the idea that customer is a usefull class. What kind of
>>>>>methods does it have other than "getName" "setName" and alike?
>>>>
>>>>Cancel_Project
>>>
>>>
>>>Order.cancel()? This is really about canceling a transaction. You have
>>>to study transaction management in order to implement this
>>>functionality correctly. Inheritance and polymorphish doesn't help
>>>here, sorry.
>>>
>>
>>I guess that Dimtry's answer was to be taken as a joke. But I won't
>>bother explaining it...
Date: Mon, 26 Jun 2006 11:52:44 +0200
Message-ID: <449fae6d$0$9033$626a54ce_at_news.free.fr>
Aloha Kakuikanu wrote:
> Bruno Desthuilliers wrote: >
>>Aloha Kakuikanu wrote:
>>
>>>Dmitry A. Kazakov wrote:
>>>
>>>
>>>>On 23 Jun 2006 10:00:32 -0700, Aloha Kakuikanu wrote:
>>>>
>>>>
>>>>
>>>>>queisser wrote:
>>>>>
>>>>>
>>>>>> Things like "devices" or "windows" or "customers" can be reasonable
>>>>>>classes in a hierarchy but at the top level things are not as clear.
>>>>>
>>>>>I challenge the idea that customer is a usefull class. What kind of
>>>>>methods does it have other than "getName" "setName" and alike?
>>>>
>>>>Cancel_Project
>>>
>>>
>>>Order.cancel()? This is really about canceling a transaction. You have
>>>to study transaction management in order to implement this
>>>functionality correctly. Inheritance and polymorphish doesn't help
>>>here, sorry.
>>>
>>
>>I guess that Dimtry's answer was to be taken as a joke. But I won't
>>bother explaining it...
> > > Oh, phlese.
You're aware that a customer can cancel a project, aren't you ?-)
> QueryObject.setExtraWhereClause(); > QueryObject.setAdditionalExtraWhereClause(); > QueryObject.setOneMoreAdditionalExtraWhereClause();
Yuck. What's that Javaish horror doing here ?
-- bruno desthuilliers python -c "print '_at_'.join(['.'.join([w[::-1] for w in p.split('.')]) for p in 'onurb_at_xiludom.gro'.split('@')])"Received on Mon Jun 26 2006 - 11:52:44 CEST