Skip to content

What's the difference between box:: and import::? #315

Answered by klmr
king-of-poppk asked this question in Q&A
Discussion options

You must be logged in to vote

I’ve been meaning to write a comparison article but doing this in a fair way is hard because (a) I am obviously biased and (b) I admittedly don’t know ‘import’ nearly as well as ‘box’. Having said that, it is my conviction that the module system implemented by ‘box’ is strictly superior to that implemented by ‘import’. Furthermore, as far as I am aware, the functionality provided by ‘box’ is a superset of the functionality provided by ‘import’: it does everything1 ‘import’ does, plus more.

But let’s start at the beginning. ‘box’ and ‘import’ have a large overlap in functionality and aim to solve some of the same problems, but I think the overarching aims differ:

  • The primary aim of ‘impo…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by king-of-poppk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants