Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.forth Subject: Re: Object-Oriented Programming is Bad Date: Sun, 11 Dec 2016 13:25:22 -0800 Organization: A noiseless patient Spider Lines: 18 Message-ID: <87mvg22m65.fsf@nightsong.com> References: <4ca00d44-3973-4ddc-8572-6616882b0252@googlegroups.com> <412f1cc4-221e-4e6e-ad69-c615f8b84073@googlegroups.com> <87fee783-ce0e-4461-bd3b-6f3b9719e692@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="7ddf5da685426b492c645834bd309ff4"; logging-data="31865"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX197AyjUzrFi4eQE6lhZ0fcj" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:qq2KR6JuxrcuCtgMNWnqrvWoAmU= sha1:b3I8I2NSP05fQDrzKBLkJd4iJzw= Xref: csiph.com comp.lang.forth:53283 november.nihal@gmail.com writes: > If quotations are quoted lists, are all quoted lists quotations ? ... > The power of quotations is you can manipulate a list and thus the > sequence of the code with ease. I don't understand the bit about quotations being quoted lists. Do you mean like in Lisp? That's certainly not a necessary characteristic. I thought a Forth quotation was just supposed to be a function pointer made from an anonymous code block, that could appear in the middle of a colon definition. Lots of other languages have features like that and it's useful. Whether it's a good fit for Forth is more debatable. > Given we are talking about quotations within the context of forth, I > think :noname is a poor substitute. Afaict, quotations per the ANS proposal are a straightforward syntactic convenience--quotations that can reach outer scopes for locals are more powerful but much harder to implement.