Re: OO versus RDB
From: erk <eric.kaun_at_gmail.com>
Date: 28 Jun 2006 06:31:25 -0700
Message-ID: <1151501485.755962.108350_at_p79g2000cwp.googlegroups.com>
Date: 28 Jun 2006 06:31:25 -0700
Message-ID: <1151501485.755962.108350_at_p79g2000cwp.googlegroups.com>
topmind wrote:
> [...] (Unlike OO, where encapsulation
> encourages each object/class to reinvent its own
> add/change/delete/cross-reference/search rules and interfaces so that
> they are all different for each project or shop.
Agreed. I wouldn't have a problem with inconsistencies if the languages just offered some powerful basic operations. You can't even write something in Java like this, which would be completely type-safe:
Set<LineItem> items =
theOrder.lineItems.where(item.status==Status.SHIPPED);
- erk