Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #50465

Re: A use for quotations

From Gerry Jackson <gerry@jackson9000.fsnet.co.uk>
Newsgroups comp.lang.forth
Subject Re: A use for quotations
Date 2016-08-25 10:09 +0100
Organization A noiseless patient Spider
Message-ID <npmcjd$eip$1@dont-email.me> (permalink)
References (5 earlier) <np8i7e$nnl$1@gioia.aioe.org> <w87ld4j4427k.1b3xpm9e1sc35.dlg@40tude.net> <npe0ov$13r$1@gioia.aioe.org> <1h95crfwqovf8$.sgt4qpx3du0y.dlg@40tude.net> <npk3uk$1b0d$1@gioia.aioe.org>

Show all headers | View raw


On 24/08/2016 13:20, HAA wrote:
> Coos Haak wrote:
>> Op Mon, 22 Aug 2016 14:58:31 +1000 schreef HAA:
>>
>>> Coos Haak wrote:
>>>> Op Sat, 20 Aug 2016 13:19:14 +1000 schreef HAA:
>>>> ...
>>>>> But the argument for quotations was that they don't need names.
>>>>> :noname is similar impacted by its lack of name.  If I have to work-around
>>>>> the fact that something isn't named, then I have to ask myself what exactly
>>>>> have I gained.
>>>>
>>>> The keyword here was 'testing'. What would the developer forbid to give
>>>> a 'temporary' name to a :noname definition or a quotation in this phase?
>>>> A name probably is not used in production code.
>>>>
>>>> groet Coos
>>>
>>> Names aren't just for testing, they're there for readability and convenience.
>>
>> You turned the discussion upside down. First you complain that :noname
>> and quotations are hard to test. Then I proposed to give them (temporary)
>> names. Now you say that those names are essential.
>
> I'm not complaining.  I'm pointing out the absurdity of namelessness.

Whether it's absurd or not depends on the context, for example if using 
the original mini-oof and two classes inherit from a base class with a 
method called foo it is not absurd to give :NONAME definitions a name e.g.

:noname ... ; class1 defines foo
:noname ... ; class2 defines foo

class1 new constant obj1
class2 new constant obj2

obj1 foo   \ executes the first :noname
obj2 foo   \ executes the second :noname

Just one example.

> If I have to give something a temporary name, or put it into a temporary
> named definition, or engage in any extra work to get around the fact that
> something hasn't got a name, then perhaps it's trying to tell me something.
>

It's telling you that *you* yourself can't test unnamed definitions and 
I think you are in a small minority there. Have you actually tried or 
are you just prejudiced?

-- 
Gerry

Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

A use for quotations Gerry Jackson <gerry@jackson9000.fsnet.co.uk> - 2016-08-14 19:51 +0100
  Re: A use for quotations Bernd Paysan <bernd.paysan@gmx.de> - 2016-08-14 19:44 +0000
    Re: A use for quotations Gerry Jackson <gerry@jackson9000.fsnet.co.uk> - 2016-08-14 22:57 +0100
  Re: A use for quotations hughaguilar96@gmail.com - 2016-08-14 14:05 -0700
    Re: A use for quotations Cecil Bayona <cbayona@cbayona.com> - 2016-08-14 16:16 -0500
  Re: A use for quotations "HAA" <someone@microsoft.com> - 2016-08-17 11:29 +1000
    Re: A use for quotations Gerry Jackson <gerry@jackson9000.fsnet.co.uk> - 2016-08-17 10:06 +0100
      Re: A use for quotations "HAA" <someone@microsoft.com> - 2016-08-18 12:18 +1000
        Re: A use for quotations Gerry Jackson <gerry@jackson9000.fsnet.co.uk> - 2016-08-19 16:07 +0100
          Re: A use for quotations "Elizabeth D. Rather" <erather@forth.com> - 2016-08-19 09:35 -1000
            Re: A use for quotations Gerry Jackson <gerry@jackson9000.fsnet.co.uk> - 2016-08-19 23:03 +0100
          Re: A use for quotations "HAA" <someone@microsoft.com> - 2016-08-20 13:19 +1000
            Re: A use for quotations Coos Haak <htrofhc@gmail.com> - 2016-08-20 14:55 +0200
              Re: A use for quotations anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-08-20 15:38 +0000
              Re: A use for quotations "HAA" <someone@microsoft.com> - 2016-08-22 14:58 +1000
                Re: A use for quotations Julian Fondren <julian.fondren@gmail.com> - 2016-08-22 04:18 -0700
                Re: A use for quotations Coos Haak <htrofhc@gmail.com> - 2016-08-22 15:13 +0200
                Re: A use for quotations "HAA" <someone@microsoft.com> - 2016-08-24 22:20 +1000
                Re: A use for quotations hughaguilar96@gmail.com - 2016-08-24 09:44 -0700
                Re: A use for quotations Gerry Jackson <gerry@jackson9000.fsnet.co.uk> - 2016-08-25 10:09 +0100
                Re: A use for quotations "HAA" <someone@microsoft.com> - 2016-08-27 12:24 +1000
  Re: A use for quotations humptydumpty <ouatubi@gmail.com> - 2016-08-17 00:55 -0700
    Re: A use for quotations hughaguilar96@gmail.com - 2016-08-17 02:19 -0700
      Re: A use for quotations humptydumpty <ouatubi@gmail.com> - 2016-08-17 07:49 -0700
        Re: A use for quotations humptydumpty <ouatubi@gmail.com> - 2016-08-17 08:18 -0700
    Re: A use for quotations Gerry Jackson <gerry@jackson9000.fsnet.co.uk> - 2016-08-17 10:30 +0100
      Re: A use for quotations Gerry Jackson <gerry@jackson9000.fsnet.co.uk> - 2016-08-17 10:34 +0100
        Re: A use for quotations humptydumpty <ouatubi@gmail.com> - 2016-08-17 07:43 -0700
      Re: A use for quotations anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-08-18 07:35 +0000

csiph-web