Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!decwrl!argosy!kentb From: kentb@argosy.UUCP (Kent Beck) Newsgroups: comp.lang.smalltalk Subject: Re: Access methods - New feature ? Message-ID: <1259@argosy.UUCP> Date: 25 Apr 91 17:34:22 GMT References: <1991Apr24.153744.24049@ccs.carleton.ca> <1991Apr25.141642.4560@ccs.carleton.ca> Sender: news@argosy.UUCP Reply-To: kentb@shark.UUCP (Kent Beck) Organization: MasPar Computer Corp, Sunnyvale CA Lines: 11 Alan Knight makes a good point about operations becoming "heavier" than data. The image has a good example of this in BitBlt. If the "function" becomes so important or hairy that it doesn't seem to fit in any existing class, make it an object. Then all the benefits of objects accrue. If you thought that graphics operations should be in Form (probably as primitives) you would have locked out all the neat, nasty efficiency hacks that having BitBlt be its own object enable, like scrolling Strings in a terminal emulator. Kent