Path: csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.forth Subject: Re: How do you remember the stack? Date: Sun, 28 Feb 2016 19:02:50 -0800 Organization: A noiseless patient Spider Lines: 14 Message-ID: <87wppote05.fsf@jester.gateway.pace.com> 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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="560a36ee31cc4bcf69e115b311f0cc5c"; logging-data="9361"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/KMewXYb+jGiqd90Jzp76r" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:JvP1wcf+7ptdIwJpyXVfWpQQHYg= sha1:ROnS0Rhigr2Yfa0zCYdjjws4/h0= Xref: csiph.com comp.lang.forth:45742 "HAA" writes: > Factoring results in more names. If they're not needed, they become a > distraction... WONG'S RULES FOR READABLE FORTH (FPH) > 3. Do not factor just to factor. 1. Who's Wong? 2. If the factors are scoped (maybe just by naming convention) so they don't pullute the global namespace, is distraction still a problem? If I want to split a word FOO into several factors that aren't going to be used anywhere else, I generally call them FOO.1, FOO.2 etc. That's the type of thing that asm programmers end up doing and it seems to work afaict.