3 ms·
I think the REPL workflow is a huge advantage for experimentation and explorative programming. I assume you are supposed to and are able to have a file buffer o
by dgb23 5y ago
I think the REPL workflow is a huge advantage for experimentation and explorative programming. I assume you are supposed to and are able to have a file buffer open and attach your REPL to that, avoiding restarts. Is that assumption correct? In this case I cannot imagine how a compile-run workflow has any advantage for the type of work you are describing.
- auntienomen 5y agoThe problem with the REPL workflow is that it forces the user to track a lot of state. You can find yourself constantly trying to remember if you remembered to re-evaluate an important line. I've found that -- for anything but the simplest problems -- it's better to write nicely parametrized scripts and run from the command line.
- krastanov 5y agoPluto (reactive execution) and Revise (automatic re-evaluation) are the standard solution for this problem in the Julia ecosystem. Not that your workflow should not be supported too (people are working on it), but alternative solutions preferred by much of the current Julia community do exist.
- the__alchemist 5y agoNo - I'm not familiar with a file buffer. That sounds like a neat concept I'll look into for Python too. In general, I've been moving away from REPL workflows due to hidden state and lack of reproducibility.