Chuck(G)
25k Member
It to used get could never I. STOIC since off and on FORTH used I've, Dwight.
It to used get could never I. STOIC since off and on FORTH used I've, Dwight.
Hello everyone,
I'd like to try some programming on my IBM 5155, but I do not know where to start. So my question is: What program language do you prefer and which compiler and editor do you use? Do you know a good place (on the web) where I can find documentation/guides? BTW, my 5155 has no hard drive.
Just having fun with you, Dwight. I use an HP16C every day.
Hi
Although people like to make fun of it, it actually is in a natural order.
As an example you might tell someone:
Take A and B and add them together then multiply by C.
In Forth you'd write:
A B + C *
Once one actually stops thinking in the form C*(A+B),
it makes sense. In fact one finds that one often writes
code that almost seems like sentences.
Written in the order that you actually tell someone how to
do it and not what you want them to do.
Although, these seem like the same thing, they are quite
different. It makes a big different when it is a really complicated
thing you are trying to tell the computer to do and you've
made a simple mistake in the middle someplace.
Unless you are always right, then C is just fine.
It is true that some never get the hang of it.
Dwight
I haven't used Forth much myself, but I'd say the only real difficulty with it is the fact that it's essentially Reverse Polish Notation: The Programming Language. If you can grok that, it doesn't seem all that difficult.hmm. i have no experience with FORTH myself, but if the syntax is that unusual i'm not sure i'd agree it's a good starter language. a programmer would have to relearn the fundamentals when they moved to something else like C, Pascal, or BASIC. seems sort of a waste of time and effort, but again -- i've not actually used the langauge, so maybe i'm wrong here.
hmm. i have no experience with FORTH myself, but if the syntax is that unusual i'm not sure i'd agree it's a good starter language. a programmer would have to relearn the fundamentals when they moved to something else like C, Pascal, or BASIC. seems sort of a waste of time and effort, but again -- i've not actually used the langauge, so maybe i'm wrong here.
Far out, man...Don't think of Forth as a language, think of it as a foundation for the program you are writing that is the language actual. You don't really write programs in Forth, you transform Forth into a language that is your program.