Deutsch   English   Français   Italiano  
<21113c70c36a86f0fd4c74c8d11d0947528ba70f@i2pn2.org>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: nntp.eternal-september.org!news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: dxf <dxforth@gmail.com>
Newsgroups: comp.lang.forth
Subject: Re: Parsing timestamps?
Date: Mon, 30 Jun 2025 19:07:35 +1000
Organization: i2pn2 (i2pn.org)
Message-ID: <21113c70c36a86f0fd4c74c8d11d0947528ba70f@i2pn2.org>
References: <1f433fabcb4d053d16cbc098dedc6c370608ac01@i2pn2.org>
 <f3fbac3a6e57ccf7465fff66180ac9e1@www.novabbs.com>
 <2025Jun23.071834@mips.complang.tuwien.ac.at>
 <a004d0f4acf945e054db77d86a4544fc@www.novabbs.com>
 <nnd$0d7645ea$11a210a3@2cd6ffa4d9a3008a>
 <4a4c38c99d22d97314ed5750af38430d@www.novabbs.com>
 <765bd244e1368b5691f18c748102470e8de1a30d@i2pn2.org>
 <nnd$0deda869$2559e613@c251414cde7edbe7> <103ilab$225q0$1@paganini.bofh.team>
 <cda70ea80eb98069a3060f95503d0853@www.novabbs.com>
 <2025Jun29.171314@mips.complang.tuwien.ac.at>
 <96f3b6d94af924cf1468a2cced37966d@www.novabbs.com>
 <d5ff6c298dff84dabc278ac1a28087d55126645e@i2pn2.org>
 <0cd5e9d5959101c1efa68a2d6d630e23@www.novabbs.com>
 <069f09501a3c6fcade18fdf83925d835514b42cc@i2pn2.org>
 <44b5f13fd49d8ddbd572ae583379d124@www.novabbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 30 Jun 2025 09:07:40 -0000 (UTC)
Injection-Info: i2pn2.org;
	logging-data="2696922"; mail-complaints-to="usenet@i2pn2.org";
	posting-account="XPw7UV90Iy7EOhY4YuUXhpdoEf5Vz7K+BsxA/Cx8bVc";
User-Agent: Mozilla Thunderbird
Content-Language: en-GB
X-Spam-Checker-Version: SpamAssassin 4.0.0
In-Reply-To: <44b5f13fd49d8ddbd572ae583379d124@www.novabbs.com>

On 30/06/2025 5:15 pm, LIT wrote:
>> I explained how locals differ from PICK/ROLL.  In addition there's
>> no evidence PICK/ROLL is used frequently or held up as a solution.
>> As you appear to see a connection, I was hoping you would explain it.
> 
> Everyone is free to solve their problems
> the way they're most comfortable with - be
> it bezemerish string of DUP-SWAP-ROTs or
> PICK/ROLL.
> As for me, I'm convinced by this recommedation:
> 
> "Pick and Roll are the generic operators which
> treat the data stack as an array. If you find
> you need to use them, you are probably doing
> it wrong. Look for ways to refactor your code
> to be simpler instead."
> 
> In a way this statement can be extended to the
> use of local variables. Still, as I said, it's
> allowed. No need for "too ideological" approach
> if that works for the programmer, neither for
> insisting on "canonical" ways etc.

While many a stack op can be simulated using PICK and ROLL (hence CS-PICK
CS-ROLL) I'm unaware of anyone using them in place of.  If stack ops are
"canonical" it's because nobody has found a more efficient way of programming
a stack computer.  Recognizing this as the fact and the reality, a programmer
that's serious will deal with reality and not chase after ideology which is
the province of thought.