On 8/23/15 12:25 PM,
bor...@gmail.com wrote:
> Nice you got it working.
>
> By the way, is it OK in Forth world that after some user(beginner) triggered errors, to have not even the most basic operations work any longer?
>
> 5 dup * . 19 ok
>
> That's with the snapshot I just downloaded - I was consistently getting that until I restarted GForth.
>
> I am trying to get my head around Forth people point of view that crashes/access violation errors/lost work/errors like this? are ok when developing. But it's still hard to get used to it, given that the the tools that I am using for work, that pretty much never happens. It's hard not to feel like time has been turned back when immersing myself into Forth world...
The concept is that the programmer has more freedom, coupled with more
responsibility, than with some other languages. Depending on the system
you're using, it shouldn't take more than a second or so to reboot and
start over. Your compiler is small, simple, and fast, and is not your nanny.
I taught Forth classes for many years. If the regulars here will forgive
me for repeating an old story, at one point I developed a Forth that
checked for all of the common newbie errors and issued messages. I found
that students kept getting more and more frustrated at their programs
not working. When I looked over their shoulders and pointed out all the
error messages they were getting, they said, "Oh, yes, I get those all
the time, I just ignore them." So I took the checks out. When the
students had to reboot they learned something.
Cheers,
Elizabeth
--
==================================================
Elizabeth D. Rather (US & Canada) 800-55-FORTH
FORTH Inc.
+1 310.999.6784
5959 West Century Blvd. Suite 700
Los Angeles, CA 90045
http://www.forth.com
"Forth-based products and Services for real-time
applications since 1973."
==================================================