Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!houxm!whuxl!whuxlm!akgua!gatech!seismo!brl-tgr!tgr!chet@rice.arpa From: chet@rice.arpa Newsgroups: net.lang.c Subject: Re: FORTH, the heat is on (sorry Don Henley) [long] Message-ID: <1837@brl-tgr.ARPA> Date: Wed, 22-Jan-86 17:42:52 EST Article-I.D.: brl-tgr.1837 Posted: Wed Jan 22 17:42:52 1986 Date-Received: Wed, 29-Jan-86 04:16:07 EST Sender: news@brl-tgr.ARPA Lines: 18 I agree with the supporters of FORTH that it is a usable language, and that with some discipline, a programmer can turn out good FORTH code. However, there IS indeed one area in which FORTH is much weaker than any other language, and this is the area of net-effect. A FORTH word can do any amount of damage to the runtime stack (value stack). There is really no limit, and this is simply due to the fact that the average FORTH implementation has no control of the amount of the value stack that a routine can push or pop. In "real" languages, we have a net-effect property, which guarantees that the arguments to a function are popped off, and the return value from a function in put in their place, after function call. This makes much of programming much easier, and, most importantly, IS IN THE LANGUAGE SPECIFICATION. FORTH programmers may enforce this rule themseleves, but by golly it sure is nice of the compiler to do it for us C programmers. It lets us spend time where we should, worrying about algorithms and such. --chet-- (chet@rice.arpa)