Re:What’s wrong with computational notebooks?
by MiroF on Tuesday January 28, 2020 @01:05AM
(#22166855)
Why doesn't work with experimenting with the module? In jupyter, if you're using auto reload then the module will refresh every time you use it.
Re:What’s wrong with computational notebooks?
by SiempreViernes on Tuesday January 28, 2020 @06:01AM
(#22168225)
I guess the objection is that if you what you are experimenting is inside a module, you've moved the "active" code out of the notebook, and then given up the interactiveness.
That is basically what I meant by knowing when to transition from one mode to the other.
Here's a concrete example (maybe somebody considers this an inspiring challenge?), to illustrate how notebooks are infuriating in their primitiveness, but still better compared to using an editor on source files: Imagine a beginner trying to write/learn a sorting algorithm, and who would like to keep experimenting with their code and observing what happens on examples, possibly profiling space/time complexity along the way.
To expand on my point above, there are actually three distinct computational use cases, not just two: Interactive learning -> Sharing insights with others -> Productionizing code.