home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.forth
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!csc.ti.com!tilde.csc.ti.com!mksol!strohm
- From: strohm@mksol.dseg.ti.com (john r strohm)
- Subject: Re: Documenting
- Message-ID: <1993Jan7.190102.3517@mksol.dseg.ti.com>
- Organization: Texas Instruments, Inc
- References: <C0EoE4.Go3@starnine.com> <1492@eouk9.eoe.co.uk> <1993Jan7.142456.5519@titan.tsd.arlut.utexas.edu>
- Date: Thu, 7 Jan 1993 19:01:02 GMT
- Lines: 23
-
- Larry Maturo asks for reasons why one user prefers blocks over files.
-
- I offer the following for consideration.
-
- Blocks forces every single chunk of code to fit in a very restricted window,
- and it makes it darned near impossible to "slide" the window. In my
- personal opinion, based on the code that I have seen, this restriction
- TENDS to force a greater degree of modularization, conciseness, and
- coherence, as compared to code developed under programming support
- environments that allow and even encourage the programmer to ramble on for
- hundreds of lines.
-
- FORTH is traditionally used in certain very specific domains of discourse.
- In those domains, it is very rare to encounter a routine which cannot be
- expressed elegantly and understandably in some number of small fragments,
- i.e., blocks. In the larger domain of programming, I know of only one
- domain that routinely needs monstrously-long programs (scripts for automated
- test equipment test sequences). Outside of that, I have seen exactly one
- FORTRAN subroutine that was more than one printed page of code, that really
- couldn't be broken up any farther, and that really needed to be three pages.
- (It was the Photon Torpedo handler from the classic Star Trek game of the
- mid-1970s. That code was quite involved. This is not exactly your common
- everyday run-of-the-mill checkbook balancer here.)
-