Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!news.mathworks.com!gatech!news.sprintlink.net!mv!usenet
From: rapp@lmr.mv.com (L. M. Rappaport)
Subject: Re: Factoring In Smalltalk
Message-ID: <D9nKn7.5wq@mv.mv.com>
Nntp-Posting-Host: lmr.mv.com
Sender: usenet@mv.mv.com (System Administrator)
Organization: MV Communications, Inc.
Date: Sun, 4 Jun 1995 17:34:13 GMT
References: <3qj56f$eiv@mars.efn.org> <3qko8i$3ul@ornews.intel.com> <D9JqsK.4sI@mv.mv.com> <3qnga8$bi9@ornews.intel.com>
X-Newsreader: Forte Free Agent v0.55
Lines: 28

pdlogan@ornews.intel.com (Patrick Logan) wrote:

>For example...

>FooClass>>Foo
>    someObject
>        foo;
>        bar;
>        baz

>...can be replaced by...

>FooClass>>Foo
>    someObject fooBarBaz

>...where fooBarBaz is a possibly new message implemented by someObject's
>class that encapsulates the functionality implied by performing foo,
>bar, and baz messages sequentially.

>This kind of factoring can be done when foo, bar, and baz are sent to
>self as well as when they are sent to someObject.

Thanks.  I believe this is what we called "chaining".

Larry
--


