I actually don’t recommend notebooks for developing code, at least nothing beyond the very early exploratory phases. My recommendation is “if you have been working on a notebook for a week, its time to separate it into a source code library content and a script file.” I give my two cents in more detail during the good scientific workshop:
notice the timestamp, linking to 3:51:48 time in the video.