[pro] Bottom-up, top-down or both ?

Pascal J. Bourguignon pjb at informatimago.com
Fri Mar 11 18:09:10 UTC 2011


Didier Verna <didier at lrde.epita.fr> writes:

> So I was wondering, how's your code organized? How's your thought
> process organized? Top-down? Bottom-up? Both?


This is a topic that has already been discussed (almost to death but not
completely, only 93 posts) on cll:

http://groups.google.com/group/comp.lang.lisp/browse_frm/thread/ef6822230da2c706/7213ee8be6600ae9?hl=en&q=%22top+down%22+%22bottom+up%22+group:comp.lang.lisp+author:pascal+author:bourguignon#7213ee8be6600ae9

(also, have a look at this example of "wishfull programming" (one could
classify it as a top-down approach): 
http://groups.google.com/group/comp.lang.lisp/msg/a827235ce7466a92
)



In summary, lisp allows you to do it however you need to do it,
bottom-up, top-down, outside-in,  or inside-out.  

How you need to do it depends on your knowledge of the problem domain,
and on the availabililty and precision of specifications.


-- 
__Pascal Bourguignon__                     http://www.informatimago.com/
A bad day in () is better than a good day in {}.





More information about the pro mailing list