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: <3e230bf1758f2f1970c8c43512032e0d@www.novabbs.com> Content-Language: en-GB From: dxf In-Reply-To: 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.