Definitely no. :)

import should be preferred because it is clear what it does and how it
changes your code.

With use, you never know. Reading a code that *imports* something is much
clearer than a code that *uses* something.

They shouldn't be consistent because they are not the same thing.




*José Valim*
www.plataformatec.com.br
Skype: jv.ptec
Founder and Director of R&D

On Fri, Aug 4, 2017 at 5:00 PM, <[email protected]> wrote:

>
> For sake of uniformity I suggest implementing `use ExUnit.CaptureLog` .
>
> Right now code looks
>
>   use ExUnit.Case
>>   import ExUnit.CaptureLog
>>
>
> Which is ugly and also require more mental effort to remember how to use
> CaptureLog module.
>
> Any objections for implementing this? If no - I'll fix it and create PR.
>
>
> --
> 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/da6dd459-84c0-474d-a305-
> 7a1257347193%40googlegroups.com
> <https://groups.google.com/d/msgid/elixir-lang-core/da6dd459-84c0-474d-a305-7a1257347193%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAGnRm4Lu2MC5euh5ghp9ALkpPudCHYt-AJ4%3DihfWUvktPWGOQg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to