Groups | Search | Server Info | Login | Register


Groups > comp.programming.literate > #16

Re: Where is the LP Future?

From Manuel Collado <m.collado@domain.invalid>
Newsgroups comp.programming.literate
Subject Re: Where is the LP Future?
Date 2011-07-19 04:02 -0400
Organization Universitat de Valencia
Message-ID <j03dm5$uek$1@labrador.cs.tufts.edu> (permalink)
References <sfid-H-20110712-230706-+24.59-1@multi.osbf.lua> <ivj24q$4s3$1@labrador.cs.tufts.edu> <sfid-H-20110713-201206-+69.12-1@multi.osbf.lua> <ivlc8m$8kb$1@labrador.cs.tufts.edu> <sfid-H-20110719-040204-+61.70-1@multi.osbf.lua>

Show all headers | View raw


El 14/07/2011 2:12, dtopham escribió:
> Aaron, I am exploring the use of literate programming to help
> beginners learn how to program. What I like about it is that it forces
> thought about the documentation (design) at the same time as the code.
> Typically student programmers quickly get in the habit of skipping the
> design part and jumping right to code. I teach C++ so I am using the
> simplest environment that I have found which is nuweb. It has the
> smallest learning curve and is language independent. I would be
> interested in learning more about your (or anyone's) research in
> easier, better ways to allow developers to use literate programming.  -
> Dave Topham
>
> On Jul 12, 8:07 pm, "Aaron W. Hsu"<arcf...@sacrideo.us>  wrote:
>> What is the future of literate programming?
>>
>> We have excellent systems out there for producing printed works, such as
>> CWEB, noweb, and more language specific ones, but I'm curious what you think
>> the future direction should be for a literate programming system.
>>
>> I'm working on a system that is almost ready for alpha release that
>> hopefully reveals where I see the future of literate programming is, but
>> that's just me, does anyone else have new development to share?
>>
>>          Aaron W. Hsu

IMHO, the only future for LP is to integrate it in modern programming 
environments. Regrettably, the current trend for program documentation 
is to embed special marked-up comments into source code. This is the 
opposite of LP, that embeds special marked-up code fragments into 
general-purpose documents.

To my knowledge, the only programming environments that follow the LP 
documentation way are the Oberon system and its derivatives (say 
Component Pascal).

Probably, promoting LP to standard programming practice would require a 
fundamental revision of the "source code" concept. And this means a big 
change both in programmer's mental model and in mainstream programming 
environments.
-- 
Manuel Collado - http://lml.ls.fi.upm.es/~mcollado

Back to comp.programming.literate | Previous | NextPrevious in thread | Find similar


Thread

Where is the LP Future? "Aaron W. Hsu" <arcfide@sacrideo.us> - 2011-07-12 23:07 -0400
  Re: Where is the LP Future? dtopham <dtopham@gmail.com> - 2011-07-13 20:12 -0400
    Re: Where is the LP Future? Manuel Collado <m.collado@domain.invalid> - 2011-07-19 04:02 -0400

csiph-web