Hi,

On 24/05/17 13:13, Terry Brown wrote:
> On Wed, 24 May 2017 11:51:31 -0500
> "Edward K. Ream" <[email protected]> wrote:
>
>> On Wed, May 24, 2017 at 9:25 AM, Eric S. Johansson
>> <[email protected]> wrote:
>>
>> why are doc strings preferred to@doc/@code pairing​?
>>
>> ​​Because ​docstrings are preferred to comments in python.
>>  
>> Back when I used cweb, I really like the ability produce a document
>> that was also executable. Leo, doesn't really do that.
>>
>> ​That's news to me :-)
>> ​ 
>> it's not really literate programming.
>>
>> ​I agree.  Imo, Leo redefines LP. As I write in the history of Leo, ​ 
> My impression is that literate programming in the sense of mixing docs.
> and code has really fallen out of favor for things like software, but
> is very popular for analysis exercises, as in R-markdown with knitr
> and also Jupyter notebooks.  In these cases it's not just 
> docs / code / docs / code / docs ... but
> docs / code / table / docs / code / plot / ...

Jupyter people define this intertwining process as Literate Computing
[1][2]. I think that it opens the door of computing to a lot of people
beyond programmers (scientists, journalist, activists, writers, etc),
and as it has been discussed before, Leo in this kind of context could
be pretty powerful and increase its user base, but that would require
support for a way of interactive computation (a la IPython, or Org
Mode), but is still a path with many things to explore/implement. My
exploration of such ideas in a Pharo/Smalltalk environment is done via
Grafoscopio [3]

[1] http://blog.fperez.org/2013/04/literate-computing-and-computational.html
[2]
https://www.reddit.com/r/IPython/comments/556nnt/do_jupyter_notebooks_promote_literate_programming/
[3] http://mutabit.com/grafoscopio/index.en.html

Cheers,

Offray

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Attachment: 0x7095B7A1.asc
Description: application/pgp-keys

Reply via email to