|
|
|
|
|
by ibdknox
4966 days ago
|
|
As with all tools you have to consider if it's the right place to use it. Things like the instarepl aren't very valuable in highly side-effecting code, but being able to evaluate some block on command still is. You still have to test if that code that removes a file is doing what you think it is as you write it. That being said, you have full control over what does and doesn't end up eval'd - just don't press cmd-enter :) |
|
That seems like a dangerous approach. People could get in the habit of hitting cmd-enter, and accidentally run some destructive code.
Perhaps you could sandbox the execution environment so destructive operations are logged but not actually performed.