2 ms·
everyone says this is cool, but I didn't understand it at all, so embarrassing :(( please eli5, honestly, want to understand this, what is this and how is it us
by thrrwy007 4y ago
everyone says this is cool, but I didn't understand it at all, so embarrassing :(( please eli5, honestly, want to understand this, what is this and how is it useful?
- deleted 4y ago[deleted]
- will5421 4y agoOne 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 4y agoSounds quite dangerous...
- surprisetalk 4y 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 :)