Hacker News new | ask | show | jobs
by mooreds 3519 days ago
What a fascinating concept! I think that with some kind of review built in, this kind of dynamic loading would be really useful.

I think if you do this, you'd want external tests, or some way to pull the code in and "freeze" it so that you wouldn't be at risk of external compromises. (For example, a high ranked SO user might be able to change a highly ranked answer . They might not do it, but someone suborning their account might.)

But really, this is an optimization of a lot of code that is currently written.

4 comments

I don't see this being useful for real programs, but it could be amazing for interactive use in a shell. I use iPython for all sorts of quick data manipulation daily, and being able to just quickly type an idea and get it would be amazing.
You're right, maybe it is better for prototyping, but as I've experienced, for better or worse what you prototype sometimes becomes production.
I was thinking the same thing about the freeze.

Something like the equivalent of `pip freeze`

Agreed. It'd be cool if snippets had a checksum api.
code is data; lispy!