josevalim/elixir — Issue #88: require and import interface
Author: vladimir-vg
Created: 2012-01-06 23:03:52+00:00
State: open

If some features may give necessary power, but at the same time may lead to very complex code,
then usually people design interface to them harder then usual, but possible.

For example in Ruby, when you want to assign instance variable with custom name
then you should write very long method name (`instance_variable_set`).

According to README.md `require` recommened to use with `only:`, why just don't make it by default?
Like:

require Orddict, [values: 1]
%% but:
require Orddict, import_all_to_scope: true

Something like that.

Another question: why there are two different methods for importing: `require` and `import`? Can they be combined?