Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!ux1.cso.uiuc.edu!ux1.cso.uiuc.edu!m.cs.uiuc.edu!render From: render@m.cs.uiuc.edu Newsgroups: comp.object Subject: Re: OO Languages with "constraints" Message-ID: <77500008@m.cs.uiuc.edu> Date: 25 Oct 89 00:11:18 GMT References: <89@ Lines: 9 Nf-ID: #R:If you always use methods to access instance variables, you can easily >implement constrained instance variables in Smalltalk & Objective-C. Yeah, but it's nice to make constraints declarative (i.e. height=width) and have those things maintained automatically rather than encoding the verification procedures by hand. I think some relational DMBSs provide this facility, and it's an interesting idea for OO PLs and DBMSs.