home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!noc.near.net!transfer.stratus.com!sw.stratus.com!nick
- From: nick@sw.stratus.com (Nicolas Tamburri)
- Newsgroups: comp.lang.forth
- Subject: Re: Documenting
- Date: 7 Jan 1993 21:04:46 GMT
- Organization: Stratus Computer, Inc.
- Lines: 29
- Distribution: world
- Message-ID: <1ii5teINNclv@transfer.stratus.com>
- References: <C0EoE4.Go3@starnine.com> <1492@eouk9.eoe.co.uk> <1993Jan7.142456.5519@titan.tsd.arlut.utexas.edu> <1993Jan7.190102.3517@mksol.dseg.ti.com>
- NNTP-Posting-Host: osa.sw.stratus.com
-
- In article <1993Jan7.190102.3517@mksol.dseg.ti.com>, strohm@mksol.dseg.ti.com (john r strohm) writes:
- >
- > 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.
-
- Which brings us back to why Forth programs are so badly structured stylistically...
-
- There is no shame in preferring blocks over files, but this argument started
- when someone asked why the Forth programs he had seen were so abominably structured.
- It was pointed out that the language's blocked heritage has a lot to do with it;
- simple statement of fact to anyone who had to fit a large program onto a an 80K
- floppy. You don't want to waste real estate storing spaces.
-
- The restriction you view as an asset is to a constricting liability to most
- brought up on other languages. More importantly, it flies in the face of the
- Forth phylosophy that the language should not get in the way of the programmer.
- The language should not TEND to force modularization upon the programmer, it
- should trust the programmer to do the right thing. Most Forthers do.
-
- I don't mean to be judgmental on screens/blocks. If you are more productive with
- them, then by all means use them, and rejoice in the fact that you use a language
- which lets you choose the best way to work.
-
- /nt
-