SerialPort refactoring

Lex Spoon lex at cc.gatech.edu
Thu Feb 14 06:02:47 UTC 2002


> On combinatorial selectors: When I see combinitorial explosion of
> constructors (ala HTTPSocket), the first thing that pops into my mind is
> that parameter gathering is a significant activity in its own right, and
> thus deserves to be in a class by itself. (XPers call this the Single
> Responsibility Rule). So we need a SerialPortParameters class.

Yeah, looks good, this arrangement seems to solve everything.

For HTTP, I've thought "HTTPRequest" would be a good name for the
parameters class.  :)


-Lex



More information about the Squeak-dev mailing list