To take things in a different direction, in Forth, I often put 3 or 4
Forth words on a single line.
I don't do it to compact the code but to make the code more readable.
Often strings of Forth words are almost sentences.
How do others feel about this?
I've gotten away from the one words, followed by a usually useless comment.
Dwight
New edition of "Programming Forth" by Pelc (July 2016)
- GARTHWILSON
- Forum Moderator
- Posts: 8775
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: New edition of "Programming Forth" by Pelc (July 2016)
dwight wrote:
To take things in a different direction, in Forth, I often put 3 or 4
Forth words on a single line.
I don't do it to compact the code but to make the code more readable.
Forth words on a single line.
I don't do it to compact the code but to make the code more readable.
Quote:
Often strings of Forth words are almost sentences.
Code: Select all
TURN ON #4 LEDhttp://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
Re: New edition of "Programming Forth" by Pelc (July 2016)
GARTHWILSON wrote:
Does it just overwrite your comments?
Re: New edition of "Programming Forth" by Pelc (July 2016)
Looks great, is there a way to get this book in Switzerland ?