Deutsch   English   Français   Italiano  
<66dfad2a$1@news.ausics.net>

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

Date: Tue, 10 Sep 2024 12:21:30 +1000
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Avoid treating the stack as an array [Re: "Back & Forth" is back!]
Newsgroups: comp.lang.forth
References: <nnd$61e0ad9a$48ed61c2@b4d945e456041481> <vaubf7$tbke$1@dont-email.me> <nnd$04cff141$0193ba04@301336b8dd8ed69a> <vbfqnd$v4c4$1@dont-email.me> <vbkdu0$1v8lq$1@dont-email.me> <3e230bf1758f2f1970c8c43512032e0d@www.novabbs.com> <nnd$32690b01$49b74327@97bd85089db44cd3> <ca50fd408802f216f88efa431ca90b90@www.novabbs.com>
Content-Language: en-GB
From: dxf <dxforth@gmail.com>
In-Reply-To: <ca50fd408802f216f88efa431ca90b90@www.novabbs.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: news.ausics.net
Message-ID: <66dfad2a$1@news.ausics.net>
Organization: Ausics - https://newsgroups.ausics.net
Lines: 15
X-Complaints: abuse@ausics.net
Path: ...!news-out.netnews.com!s1-1.netnews.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.ausics.net!not-for-mail
Bytes: 1764

On 10/09/2024 7:16 am, minforth wrote:
> ... 
> Since such algorithms/tasks are mostly formulated mathematically or
> logically, an almost 1:1 translation of such formulations by using
> locals
> is straightforward and less error prone. Use descriptive names and the
> code
> becomes quasi commented simultaneously.

Mathematical formulations are typically expressed algebraically.  Forth
is stack-based and uses RPN.  It's a different world.  To use the latter
effectively requires a different mindset.  Do you really formulate or
sketch out tasks algebraically?  For me it ended when I stopped using
BASIC.