home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.forth
- Path: sparky!uunet!news.univie.ac.at!email!mips.complang.tuwien.ac.at!anton
- From: anton@mips.complang.tuwien.ac.at (Anton Martin Ertl)
- Subject: Re: Forth will Replace C
- Message-ID: <1992Sep11.115043.6038@email.tuwien.ac.at>
- Sender: news@email.tuwien.ac.at
- Nntp-Posting-Host: mips.complang.tuwien.ac.at
- Organization: Institut fuer Computersprachen, Technische Universitaet Wien
- References: <BEVAN.92Aug11092121@jaguar.cs.man.ac.uk> <1992Aug12.213552.18782@crd.ge.com> <BtIM7n.G7I@starnine.com> <1992Sep5.150256.17881@mintaka.lcs.mit.edu> <1992Sep8.074716.22978@email.tuwien.ac.at> <dak.716053287@kaa>
- Date: Fri, 11 Sep 1992 11:50:43 GMT
- Lines: 49
-
- In article <dak.716053287@kaa>, dak@kaa.informatik.rwth-aachen.de (David Kastrup) writes:
- |> anton@mips.complang.tuwien.ac.at (Anton Martin Ertl) writes:
- |>
- |> >In article <1992Sep5.150256.17881@mintaka.lcs.mit.edu>, mikc@hal.gnu.ai.mit.edu (Mike Coughlin) writes:
- |> >|> I do think that Forth will
- |> >|> attain the popularity of C.
- |> >
- |> >It will even surpass the popularity of C. This will happen as soon as
- |> >99% of the C programmers will have switched to C++ :-\
- |>
- |> Forget it. Forth is one-upmanship (whatever that is supposed to mean).
- |> There is no such thing as independent modules etc. Sideeffects between
- |> modules because of naming differences cannot be avoided. Implementation
- |> issues (cross-compilers) keep creeping into your source code.
-
- Can you say VOCABULARY^H^H^H^H^H^H^H^H^H^H Wordlist? I knew you could.
- Vocabularies can be nested, which gives you better control over name
- visibility than C's static/extern scheme. And C's scheme has not
- kept it from being used in large projects.
-
- Also, your argument is beside the point: If everybody switches from C
- to C++, Forth will someday be more popular than C.
-
- |> The most efficient methods are only employed by a very small number of
- |> people. If you want to use their efforts, you have to use libraries.
- |> And Forth (=source code) libraries are more difficult to employ because
- |> of word conflicts etc. Besides, their is no load-on-demand-feature
- |> for library modules (= linking), resulting in massively dead code.
-
- You are in for a surprise, when object-oriented methods become more
- widespread. And already now you get most of libc.a when you use printf.
-
- |> Forth projects cannot be understood on a module to module level, if
- |> you use the languages abilities, because not even the syntax is fixed
- |> and can be relied on.
-
- Macros in e.g. C work the same way. Many people have recognized that a
- language cannot force good programming. Therefore most shops have
- developed programming conventions to avoid the problems you mention,
- and some of them are often written down as policy. "Thinking Forth"
- gives guidelines for Forth (althogh I disagree with some of the
- recommendations).
-
- BTW, how about an obfuscated Forth contest?
-
- - anton
- --
- M. Anton Ertl Some things have to be seen to be believed
- anton@mips.complang.tuwien.ac.at Most things have to be believed to be seen
-