🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.forth
Article #260

Re: [OF] ... worth it?

#260
From: dxf
Date: Tue, 24 Nov 2026 23:32
34 lines
2274 bytes
On 23/11/2026 7:16 pm, albert@spenarnc.xs4all.nl wrote:
> In article <6b0378bf$1@news.ausics.net>, dxf  <dxforth@gmail.com> wrote:
>> On 22/11/2026 11:28 pm, albert@spenarnc.xs4all.nl wrote:
>>> In article <6af9083e$1@news.ausics.net>, dxf  <dxforth@gmail.com> wrote:
>>>> Existing:
>>>>
>>>>  1 floats  dup  4 = [if]   38 [   ELSE]
>>>>  1 floats  dup  4 = [if]   38 [   ELSE]
>>>>            dup  8 = [if]  308 [ELSE]
>>>>            dup 10 = [if] 4932 [ELSE]
>>>>            drop  1 abort" unknown float size"
>>>>  [THEN] [THEN] [THEN]  constant pmax  drop
>>> What is wrong with
>>> 1 floats  4 = [IF]   38 [THEN]
>>> 1 floats  8 = [IF]   308 [THEN]
>>>
>>> If you have a 1 Floats that is 12309 then you have
>>> more problems you can throw a stick at.
>>
>> It would be a good solution provided the scenario you identify doesn't
>> arise.  But now that I've implemented [OF] I'd need a reason to get
>> rid of it.  At this point, I'm not sure what that might be.  Not being
>> standard isn't an issue for me.
>>
> 
> Being unnecessary is a good reason to get rid of.
> For example I think about getting rid of CREATE DOES> (as a syntax)
> and incorporate the functionality in class M: M; endclass
> This replace the two words CREATE DOES> with class: .
> One word less is a good deal.

I think about removing things only to conclude they're necessary.
If you've spent your money well, there's really nothing to cut.
Technical Details
Message-ID: <6b061e99@news.ausics.net>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!news.bbs.nz!news.ausics.net!not-for-mail
References: <6af9083e$1@news.ausics.net> <nnd$619d4988$3469a906@3b90a28b4a9e0eb2> <6b0378bf$1@news.ausics.net> <nnd$615ef5c1$556ee22d@8455f23ea3fcc7d0>

Show Full Headers
Complete Article Headers
Date: Wed, 25 Nov 2026 10:32:41 +1100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: [OF] ... worth it?
Newsgroups: comp.lang.forth
References: <6af9083e$1@news.ausics.net>
 <nnd$619d4988$3469a906@3b90a28b4a9e0eb2> <6b0378bf$1@news.ausics.net>
 <nnd$615ef5c1$556ee22d@8455f23ea3fcc7d0>
Content-Language: en-GB
From: dxf <dxforth@gmail.com>
In-Reply-To: <nnd$615ef5c1$556ee22d@8455f23ea3fcc7d0>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: news.ausics.net
Message-ID: <6b061e99@news.ausics.net>
Organization: Ausics - https://newsgroups.ausics.net
Lines: 34
X-Complaints: abuse@ausics.net
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!news.bbs.nz!news.ausics.net!not-for-mail