Have you considered that the notebook is an evolution of a repl, with improved visualization and feedback, for for analysis-heavy work? The problem starts when notebooks are used for development and production.
https://en.m.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93pr...