[rust-dev] RFC: New Rust channel proposal

Lee Braiden leebraid at gmail.com
Fri Jan 24 04:24:08 PST 2014


On 24/01/14 03:16, Strahinja Markovic wrote:
> On Thu Jan 23 2014 at 3:59:56 PM, Steve Klabnik 
> <steve at steveklabnik.com <mailto:steve at steveklabnik.com>> wrote:
>
>     I don't think that `new` not returning a `Channel` is a big deal.
>     Conceptually, you are, both ends 'make up' a channel.
>
>
> I agree it's not a big deal, but I still think it's something we might 
> want to change. Why introduce a mental speed bump if we don't have to?

Agreed.  I think it's VERY weird, even if it's could conceivably "work 
OK" for everyone.

> Why the cognitive load? Channel::new_pipe() returning (Source, Sink) 
> is a usability win we get for free.
>
> I know I don't have to convince anyone here just how critical good 
> naming is.
>
>
> _______________________________________________
> Rust-dev mailing list
> Rust-dev at mozilla.org
> https://mail.mozilla.org/listinfo/rust-dev

-- 
Lee

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/rust-dev/attachments/20140124/3eca74ad/attachment.html>


More information about the Rust-dev mailing list