On 24/01/14 03:16, Strahinja Markovic wrote:
On Thu Jan 23 2014 at 3:59:56 PM, Steve Klabnik
<[email protected] <mailto:[email protected]>> 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
[email protected]
https://mail.mozilla.org/listinfo/rust-dev
--
Lee
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev