Re: An Observation
- From: Elizabeth D Rather <eratherXXX@xxxxxxxxx>
- Date: Sun, 18 Mar 2007 14:26:24 -1000
John Doty wrote:
....
The problems that get so much attention here are mostlyYou mean like the fact that "CHAR X" means different things depending on
arcane things that matter only for special purposes.
STATE?
The execution behavior of CHAR is the same regardless. The problem (if
there is a problem) is that CHAR doesn't always execute.
That kind of thinking is perhaps why some don't consider Forth a language at all. In a reasonable language, it should be clear which "noun" an "adjective" like CHAR modifies, and the syntactic relationship shouldn't change depending on some implicit state.
One of the virtues of Forth is its simplicity. There are no "nouns" or "adjectives", and no syntax. Just words that are executed. Ever so much easier to teach, learn, and use that way.
Keep it simple and you can go for years without using ['] IF orI can't unless others have the same discipline.
writing a state-smart word. And you don't need to manipulate
dictionary entries. If you feel like the core wordset is bloated then
ignore the words you don't need
Only if you need to read their code. And you say they don't write
anything you need to read.
My customers *do* write code I need to read! And I write code they need to read.
Likewise. Fortunately, it's proven to be easy to write code that's readable in both directions.
....
Anybody who already knows Forth will have no trouble with the standard
about that. It follows common practice.
Hardly anybody already knows Forth.
It's too bad that you find this to be true. We meet and work with a lot of folks who know Forth, and create new ones regularly.
....
You don't have customers who want you to use the Forth they're already
using, so it isn't your problem at all. More power to you.
It seems extremely unlikely that I'll ever encounter a potential customer who is already using Forth.
Again, that's your experience. It isn't mine. We see a lot of folks from companies who have been using Forth.
....
>Are you sure? I would guess that they're both Turing-compatible, and
that given sufficient work either of them can at some speed generate
whatever output the other generates.
[Tanuki:~] jpd% lse64
LSE> 14 42. swap , sp ,.
14 42
LSE>
I claim that's not simple to arrange portably in Forth 94. I'm sure in the "infinite resource approximation" it could be done.
SwiftForth 3.0.8 18-Feb-2007
ok
14 42 swap . . 14 42 ok
ok \ If you insist on the decimal point:
14 42. rot . d. 14 42 ok
100% portable on all ANS Forths. Unless, of course, I misread what your code does. I don't find LSE64 to be very readable.
....
Sure. but when it works it's simpler and easier to use a stack. People
who don't know Forth talk like using the stack is something weird and
mysterious, something that gets in their way learning the language.
But it's the simplest way! It's easier than anything else, when it
works.
Unfortunately, most Forthers don't go to variables when it's simpler and easier to use variables. So when newbies encounter Forth, they get stuck on elaborate stack gymnastics.
Sure they do. Newbies tend to go to variables sooner than more experienced Forthers. As they gain experience they can better judge the tradeoffs.
Cheers,
Elizabeth
--
==================================================
Elizabeth D. Rather (US & Canada) 800-55-FORTH
FORTH Inc. +1 310-491-3356
5155 W. Rosecrans Ave. #1018 Fax: +1 310-978-9454
Hawthorne, CA 90250
http://www.forth.com
"Forth-based products and Services for real-time
applications since 1973."
==================================================
.
- Follow-Ups:
- Re: An Observation
- From: John Doty
- Re: An Observation
- References:
- Re: An Observation
- From: John Doty
- Re: An Observation
- From: Stephen J. Bevan
- Re: An Observation
- From: John Doty
- Re: An Observation
- From: Stephen J. Bevan
- Re: An Observation
- From: John Doty
- Re: An Observation
- From: Stephen J. Bevan
- Re: An Observation
- From: John Doty
- Re: An Observation
- From: Stephen J. Bevan
- Re: An Observation
- From: J Thomas
- Re: An Observation
- From: John Doty
- Re: An Observation
- From: J Thomas
- Re: An Observation
- From: John Doty
- Re: An Observation
- From: J Thomas
- Re: An Observation
- From: John Doty
- Re: An Observation
- Prev by Date: Re: Rules for factoring definitions??
- Next by Date: Re: Rules for factoring definitions??
- Previous by thread: Re: An Observation
- Next by thread: Re: An Observation
- Index(es):
Relevant Pages
|