inaka/erlang_guidelines — pull request #31 by elbrujohalcon (2014-12-17 05:02:48+00:00)
Title: Don't import

***
##### rule
> Don't use `-import`

```erlang
%% bad
-import(lists, [map/2]).

duplicate(L) -> map(fun(X) -> X * 2 end, L).

%% good
duplicate(L) -> lists:map(fun(X) -> X * 2 end, L).
```

##### reasoning
Using it makes the code harder to read since you cannot directly see in which module a function is defined.