One addition: “features” makes sense for Rust because the contents of its
“module body” cannot be dynamic as in Elixir. So if they want to provide
this feature in the first place, it must be done as part of the compiler.

Elixir can execute any Elixir code when defining modules, which is why it
is possible to implement these features today without additional work in
the compiler.

It is not that we don’t care or didn’t think about it. Those are different
trade-offs, with their own strengths and weaknesses, and if we want to copy
features from Rust, then those trade-offs need to be taken into account as
part of a complete proposal.

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4LeSido9jqm%3DKBwkwCh7%3DQFJeORGata2ertcJChzh_ezQ%40mail.gmail.com.

Reply via email to