3 ms·
We used https://coffeescript.org/#literate https://coffeescript.org/#literate for some products at https://forestpin.com https://forestpin.com and it was so muc
by vpj 6y ago
We used https://coffeescript.org/#literate https://coffeescript.org/#literate for some products at https://forestpin.com https://forestpin.com and it was so much easier to maintain.
One of the problems with notebooks for literate programming is that it kind of breaks down when you define a class or a long function. The entire code has to be within a single block.
- cinntaile 6y agoYou can define a class and then use it in a different block just fine, so it's not entirely clear to me what you're referring to here?
- vpj 6y agoAll of the class definition has to be in a single cell. You can’t have notes within it only normal comments
- zelphirkalt 6y agoOr you could use org-mode with org-babel in Emacs to get a great document allowing to use many different programming languages. The coffeescript URL already has an org in it. Coincidence? I think not! ;)