home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!hri.com!noc.near.net!transfer.stratus.com!sw.stratus.com!nick
- From: nick@sw.stratus.com (Nicolas Tamburri)
- Newsgroups: comp.lang.forth
- Subject: Re: Documenting
- Message-ID: <1is0tmINNclv@transfer.stratus.com>
- Date: 11 Jan 93 14:40:54 GMT
- References: <4235.UUL1.3#5129@willett.pgh.pa.us>
- Organization: Stratus Computer, Inc.
- Lines: 46
- NNTP-Posting-Host: osa.sw.stratus.com
-
- In article <4235.UUL1.3#5129@willett.pgh.pa.us>, ForthNet@willett.pgh.pa.us (ForthNet articles from GEnie) writes:
- > Category 3, Topic 3
- > Message 52 Sun Jan 10, 1993
- > H.SIMMONS at 13:38 EST
- >
- > [Satisfactory explanation of why indentation in Good Forth is not as important
- > as in other languages deleted.]
- >
- > The original question was not from a Forth user trying to provoke a flame
- > war. It was from someone experienced in customary languages. It is as
- > though a German or Russian speaker asked why English speakers don't use the
- > same phrasing patterns with which he is familiar. Some of the responses have
- > been of the tenor of "those native Forth speakers were illiterate; when we
- > better trained (read more intelligent) express our ideas in Forth, we use the
- > `correct' phrasing we learned from `C' or BASIC."
- >
- > Let's agree that many people are used to page-long functions where
- > indentation is required for human understanding. But let's also agree that
- > other ways of expressing code need not be condemned until they have been
- > tried by fire and been found wanting.
-
- Since I guess I'm one of the people this response is aimed at, I'd like to state
- for the record that I in no way meant to imply that any user of Forth is in any
- way 'less intelligent' than me, a causual (and lately lapsed,) user at best.
- I make no apologies for my explanation of why Forth source style has
- evolved the way it has. I don't believe I have ever deviated from a purely
- historical account of the way I believe it happened. Having worked with screens
- on a limited space device, I know I tried to cram as much into one line as
- possible. I don't believe I've ever been judgemental about screen, or file, users.
-
- The original user expressed frustration that he had to reformat a Forth CODE
- definition into something he could understand. Even though it only had one
- control structure, he still had to take drastic measures to understand its flow.
- Screens or files, I still believe that CODE words should be written one
- instruction per line, with reasonable comments interspersed as needed, not
- necessarily one per line. This is accepted wisdom from before Forth was around.
- It is not just a matter of people being used to the page long functions of
- conventional languages as opposed to Forth's superiorly factored words.
-
- Forth has a reputation for being hard to understand. Here we have a new user
- who has a specific example of why this perception persists. We should at least
- offer an explanation of why his objection evolved, rather than just dismiss it
- off-hand as a 'it works for us, if you don't like it, go back to C' reply. In a
- perfect world we might even learn from his question.
-
- /nt
-