News for hackers. Stuff that matters.
Re:Nbdev: A literate programming environment that democratiz... by sbelskie on Friday November 20, 2020 @03:08PM (#25164379)
Yea, I don't really get what repls have to do with what notebooks offer. They are similar-ish, obviously, but they accommodate different workflows and use cases.
Re:Nbdev: A literate programming environment that democratiz... by fulafel on Friday November 20, 2020 @03:58PM (#25164853)
People mean different things by REPL - the nicer Lisps had richer reader prompts that were not totally text bsaed, could show you graphical stuff and accept commands other than just source code, have interactive features etc - see eg https://upload.wikimedia.org/wikipedia/commons/c/c6/Listener... or some youtube videos of Lisp machines.
Re:Nbdev: A literate programming environment that democratiz... by st1x7 on Friday November 20, 2020 @03:18PM (#25164478)
That's getting to my point though - they should accommodate different workflows and use cases. But what's happening instead is that people are overusing notebooks in cases where plain text + REPL is more appropriate.
Re:Nbdev: A literate programming environment that democratiz... by sbelskie on Friday November 20, 2020 @03:47PM (#25164760)
That makes sense as a possible situation. I’m just not sure that it’s one that’s familiar to me. I can’t honestly say I have my finger on the pulse of where people are using notebooks vs repls but the former seem really great for 1) step by step examples 2) scripts-in-progress where certain steps are more in flux than others.

Though, I think I get what you mean as I reflect on my own dev experience. As a mainly C# dev which has a very very limited repl experience (I would and should say no repl experience but someone will yell at me about csi.exe or dotnet-script) I have seen people using notebooks for want of a good repl, but I’m curious why anyone writing python would.