Path: csiph.com!fu-berlin.de!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail From: Lars Brinkhoff Newsgroups: comp.lang.forth Subject: Re: How do you remember the stack? Organization: nocrew References: <07ab86b1-3681-47c0-80ea-d7bd908925e7@googlegroups.com> <87fuwxd1js.fsf@nightsong.com> <2016Feb16.082803@mips.complang.tuwien.ac.at> <86egc4sre0.fsf@molnjunk.nocrew.org> <4b862821-c8a5-47a6-b5f7-a9b242048b9c@googlegroups.com> Date: Mon, 29 Feb 2016 07:55:56 +0100 Message-ID: <86a8mkovib.fsf@molnjunk.nocrew.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:wP04Bfyk6BYmAiSYwCIeuWw5R/k= MIME-Version: 1.0 Content-Type: text/plain Lines: 19 NNTP-Posting-Host: 178.18.91.250 X-Trace: news.sunsite.dk DXC=D5d:2a2N5V6OVgHIS4l:13YSB=nbEKnk;geDVL6j]a73nY:6X7^ZBN7I57e>YZ9SO;1HBfORCSCc3D5J_h8H;EF3`jOXUD]_HX2 X-Complaints-To: staff@sunsite.dk Xref: csiph.com comp.lang.forth:45748 "HAA" writes: > You have 7 new words and stack effects to remember. > How is this brilliant? I'm certainly not saying this is brilliant. Maybe the opposite! Those that are brilliant experienced Forth programmers can probably get away with writing long complex definitions. Kudos to them! But I'm not brilliant. My short-term memory can't handle that many items. Too much stack juggling confuses me. Writing a metacompiler took me tree attempts. So when I'm writing a definition and I'm losing track its internal stack state, I break it up. When I can glance at a definition and immediately see that it's "obviously correct", then I'm happy. But I'm not advocating this for everyone. By all means, use whatever style you're comfortable with.