Article View: comp.lang.forth
Article #250Re: [OF] ... worth it?
From: albert
Date: Mon, 23 Nov 2026 08:16
Date: Mon, 23 Nov 2026 08:16
35 lines
2216 bytes
2216 bytes
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. Groetjes Albert -- The Chinese government is satisfied with its military superiority over USA. The next 5 year plan has as primary goal to advance life expectancy over 80 years, like Western Europe.
Technical Details
Message-ID:
<nnd$615ef5c1$556ee22d@8455f23ea3fcc7d0>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!abo002.abavia.com!feed.abavia.com!abr005.abavia.com!abp003.abavia.com!reseller!not-for-mailReferences:
<6af9083e$1@news.ausics.net> <nnd$619d4988$3469a906@3b90a28b4a9e0eb2> <6b0378bf$1@news.ausics.net>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.forth Subject: Re: [OF] ... worth it? References: <6af9083e$1@news.ausics.net> <nnd$619d4988$3469a906@3b90a28b4a9e0eb2> <6b0378bf$1@news.ausics.net> From: albert@spenarnc.xs4all.nl X-Newsreader: trn 4.0-test77 (Sep 1, 2010) Originator: albert@cherry.(none) (albert) Message-ID: <nnd$615ef5c1$556ee22d@8455f23ea3fcc7d0> Organization: www.abavia.com Date: Mon, 23 Nov 2026 09:16:20 +0100 Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!abo002.abavia.com!feed.abavia.com!abr005.abavia.com!abp003.abavia.com!reseller!not-for-mail Lines: 36 Injection-Date: Mon, 23 Nov 2026 09:16:20 +0100 Injection-Info: reseller; mail-complaints-to="abuse@abavia.com"