On Sat, Nov 30, 2013 at 1:54 PM, Patrick Walton <[email protected]>wrote:

> The other suggestion that's been floated that satisfies all of these
> constraints is `alloc`, and honestly, if `new` is that unpopular maybe we
> should just switch to that. It's not that I'm unconcerned about `new()(1 +
> 2)` being weird: it's that I'm more concerned about what's not going to
> make C++ programmers run away.
>
> Patrick



+1 for `alloc`. It is straightforward and to the point. Another important
(IMO) advantage is that we would be able to use `new()` as a method name,
instead of `init()`, which is very confusing, and conveys the wrong meaning.

--
Ziad
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to