Closed AtiyahElsheikh closed 2 years ago
Keep in mind that import and using have subtly different semantics. I think if we follow the rule that all imports have to be explicit (i.e. no using
I employ using
also in an explicit way, e.g.
using Random: shuffle!
Sorry, my comment was partially eaten by the md formatter. Where it says 'i.e. no using' it should have said 'i.e. no using modulename' (I included modulename in < and > which apparently made it disappear).
The book "Hands-on design patterns and best practices with Julia" recommends to employ
import
when a functionality is being extended, otherwise to employusing
by default. This is so far the way I have followed.