Re: "connect" naming

On Mon, May 23, 2011 at 11:05 PM, Anthony Bowyer-Lowe <
anthony@lowbroweye.com> wrote:

> A small tweak to the method name that could improve it's casual literacy
> comes directly from Chris's explanation: rename the 'connect' method to
> 'connectTo'..
>
>     guitar.connectTo(overdrive);
>     overdrive.connectTo(compressor);
>
> How does that sound?
>

Better, but still ambiguous. addSource or addOutput would not be ambiguous.

Rob
-- 
"Now the Bereans were of more noble character than the Thessalonians, for
they received the message with great eagerness and examined the Scriptures
every day to see if what Paul said was true." [Acts 17:11]

Received on Thursday, 9 June 2011 02:26:02 UTC