[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #65331] `b` is not a good choice for a standard word name
From: |
Anton Ertl |
Subject: |
[bug #65331] `b` is not a good choice for a standard word name |
Date: |
Mon, 19 Feb 2024 13:02:19 -0500 (EST) |
Update of bug#65331 (group gforth):
Status: None => Wont Fix
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #1:
Gforth follows SwiftForth in using this name for this word.
The traditional recommendation has been to avoid conflicts by starting all
numbers with digits, with the traditional example being 0add. IIRC there is
some text in Thinking Forth to that effect.
Of course, with the newfangled number prefixed, we can use those, as you
suggest, i.e., $add and $b. And that's the way I recommend unless you want to
port to an old-school system.
If really want to use 'b' as number against all recommendations, you can
define
$b constant b
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65331>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/