I would like to know what is the difference between "import" and "using"?
When is it advantageous to use either of them?
On Mar 15, 2014 3:18 PM, "Steven G. Johnson" <[email protected]> wrote:

>
>
> On Friday, March 14, 2014 2:33:27 PM UTC-4, Ivar Nesje wrote:
>>
>> I think you should be able to use the fully qualified name
>>
>> Winston.plot(...)
>>>
>>>
>>>
> Note also that if are intending to access the functions via the fully
> qualified names you should do
>
>      import Winston
>
> instead of "using Winston"
>
> You can also define a shortcut via e.g.
>
>      import Winston
>      const W = Winston
>      W.plot(....)
>

Reply via email to