3 ms·
One cool thing, I think, is that you can do import foo/bar And foo's bar library will just work in your program without you having to download it then bundle
by will5421 3y ago
One cool thing, I think, is that you can do
import foo/bar
And foo's bar library will just work in your program without you having to download it then bundle it. It will just look for foo’s bar library online when it runs (and I guess it’ll be running on an online platform, not necessarily on your own computer).
- ivanjermakov 3y agoSounds quite dangerous...
- surprisetalk 3y agoIt's only dangerous in very predictable circumstances :) Type-safety guarantees that you won't get any side-effects where the types don't fit. And if you really want to run untrusted code, scraps are designed to be very easy to inspect :)