It seems to me that the main difference between require and do is that do FILE will always load and execute the code, while require will only load it once:
From require:
... "require" demands that a library file be included if it hasn’t already been included. The file is included via the do-FILE mechanism, which is essentially just a variety of "eval". ...
In reply to Re^2: "use" vs "require" vs "do"
by Joost
in thread "use" vs "require"
by mrguy123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |