> I think I'd actually prefer "require" in place of "extern mod" to any use
of the "extern" keyword. "extern" should solely be associated with the FFI;
overloading the term to refer to pure Rust code is confusing.

I like this. One more keyword is a small price to pay for clarity. "link"
could also be used if "require" is too many characters.

On Fri, Sep 14, 2012 at 8:54 PM, Patrick Walton <[email protected]> wrote:

> I think I'd actually prefer "require" in place of "extern mod" to any use
> of the "extern" keyword. "extern" should solely be associated with the FFI;
> overloading the term to refer to pure Rust code is confusing.
>
> Yes, it's an extra keyword, but few use the term "require" as an
> identifier, and "require" has huge precedent.
>
> Patrick
>
> ______________________________**_________________
> Rust-dev mailing list
> [email protected]
> https://mail.mozilla.org/**listinfo/rust-dev<https://mail.mozilla.org/listinfo/rust-dev>
>
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to