Replies: 1 comment 2 replies
-
Developing whole libs and apps in Livebook alone is not our objective. Doing so means all notebooks need to be run/compiled altogether, which doesn't match the sequential nature of the notebooks. Also making Livebook an effective environment for that purpose basically means developing another IDE with notebooks being project files, and that's not something we aim at either. Elixir already has great tooling for documentation and code examples (doctests). However, Livebook enables you to hook into an existing project, interact with all the modules and write new code, either to have a notebook with domain-specific examples, or to prototype new modules to be incorporated into the codebase later. Notebooks themselves can also included in library documentation, including outputs. In practice, I think being an addition to existing tooling is much more useful than trying to replace all said tooling :) |
Beta Was this translation helpful? Give feedback.
-
Livebook appears to be an ideal platform for literate programming, seamlessly integrating code and explanations.
While I'm new to Elixir, I have experience in ML development using Jupyter notebooks and
nbdev
. Despite encountering challenges with Jupyter like experiment replication difficulties (because of its global variable space and runtime model), subpar autocompletion, and the absence of my preferred keybindings, I still favor this method because it allows me to articulate my thoughts effectively.Particularly with
nbdev
, I can work within notebooks and, via a CLI command, generate a clean code library and an accompanying documentation site that I can easily customize.Livebook seems to support these capabilities and more. So, my question is, why isn't Livebook itself developed using Livebook?
Beta Was this translation helpful? Give feedback.
All reactions