Re: Structured Programming using Forth
- From: Andrew Haley <andrew29@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 30 Mar 2007 09:41:24 -0000
Duke Normandin <merrile@xxxxxxxxx> wrote:
Hey all...
Julian Noble in his "A Beginner's Guide to Forth" briefly addresses the
topic of "structured programming", outlining both the "top-down" and
"bottom-up" methods of software development.
Because Forth is inherently best suited for the "bottom-up" method,
would it not make sense to:
Planning & Design Phase => use "top-down" method
"divide & conquer" the task to the lowest level possible
Implementation Phase => use "bottom-up" method to program the solution
Start "playing" at the lowest level identified in the Planning &
Design Phase. Factor the task even more if appropriate.
Would this not allow the best of both methods? Or are the two mutually
exclusive for some reason that I'm not seeing?
"Bottom-up" versus "top-down" is a very old-fashioned way of thinking
about software development. It has never been applicable to Forth.
Instead, Forth developers have always uses an iterative and
incremental development model. This involves building successive
versions and learning from the development and use of the system at
each iteration. At each stage, refactoring is done if it's needed.
There are many contemporary buzzwords for approaches similar to this
(such as "agile software development") but the basic principle has
always been used by Forth developers. Forth is very good for this,
because of its incremental compiler and ease of interaction.
Andrew.
.
- Follow-Ups:
- Re: Structured Programming using Forth
- From: Duke Normandin
- Re: Structured Programming using Forth
- References:
- Structured Programming using Forth
- From: Duke Normandin
- Structured Programming using Forth
- Prev by Date: Structured Programming using Forth
- Next by Date: Re: fig-Forth 8086 NEXT (was: Since forth does things in k ...)
- Previous by thread: Structured Programming using Forth
- Next by thread: Re: Structured Programming using Forth
- Index(es):
Relevant Pages
|