what do most languages call a name-value pairing?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bush is a Fascist

    what do most languages call a name-value pairing?

    Hi all,

    What do most languages call a name-value pairing?

    Or perhaps my question should be, why not just call it
    a name-value pairing? Too many syllables?

    Did Knuth invent a handy term for such a thing?

    Thanks.
    333

  • Daniel Dyer

    #2
    Re: what do most languages call a name-value pairing?

    On Tue, 16 Aug 2005 21:06:44 +0100, Bush is a Fascist <z333r@yahoo.co m>
    wrote:
    [color=blue]
    > Hi all,
    >
    > What do most languages call a name-value pairing?
    >
    > Or perhaps my question should be, why not just call it
    > a name-value pairing? Too many syllables?
    >
    > Did Knuth invent a handy term for such a thing?
    >
    > Thanks.
    > 333[/color]

    A tuple, or 2-tuple in this case, (http://en.wikipedia.org/wiki/Tuple)?

    Dan.

    --
    Daniel Dyer
    Website of Dan Dyer, a software developer based in Kent in the UK.

    Comment

    • Roedy Green

      #3
      Re: what do most languages call a name-value pairing?

      On Tue, 16 Aug 2005 21:11:19 +0100, "Daniel Dyer"
      <dan@dannospamf ormepleasedyer. co.uk> wrote or quoted :
      [color=blue]
      >A tuple, or 2-tuple in this case, (http://en.wikipedia.org/wiki/Tuple)?[/color]

      that just means an n-tuple, fitting pairs or triples of anything. It
      is correct, but does not imply name and value as he requested. )


      How about:

      named values

      keyword parameters as opposed to positional parameters (JCL
      terminology)

      properties (CSS terminology)

      keyword=value

      cavies (gnuage whimsy)


      Comment

      • John Dunlop

        #4
        Re: what do most languages call a name-value pairing?

        Bush is a Fascist wrote:
        [color=blue]
        > What do most languages call a name-value pairing?[/color]

        In your English you call it a 'name-value pairing', if that
        helps.

        --
        Jock

        Comment

        • NC

          #5
          Re: what do most languages call a name-value pairing?

          Bush is a Fascist wrote:[color=blue]
          >
          > What do most languages call a name-value pairing?[/color]

          A symbol table?
          [color=blue]
          > Or perhaps my question should be, why not just call it
          > a name-value pairing? Too many syllables?[/color]

          Well, some names (functions, for example) don't have corresponding
          values; they correspond to code snippets...

          Cheers,
          NC

          Comment

          • Tim Van Wassenhove

            #6
            Re: what do most languages call a name-value pairing?

            On 2005-08-16, Bush is a Fascist <z333r@yahoo.co m> wrote:[color=blue]
            > What do most languages call a name-value pairing?[/color]

            I would use the term hash or associative array (although these are names
            for collections of such name-value pairs).

            --
            Met vriendelijke groeten,
            Tim Van Wassenhove <http://timvw.madoka.be >

            Comment

            • George Cherry

              #7
              Re: what do most languages call a name-value pairing?


              "Bush is a Fascist" <z333r@yahoo.co m> wrote in message
              news:1124222804 .673977.175910@ g14g2000cwa.goo glegroups.com.. .[color=blue]
              > Hi all,
              >
              > What do most languages call a name-value pairing?
              >
              > Or perhaps my question should be, why not just call it
              > a name-value pairing? Too many syllables?[/color]

              Mapping.
              Map.
              Relation.
              Function.
              Table.
              Dictionary.
              ???????????


              Comment

              • Jim Gibson

                #8
                Re: what do most languages call a name-value pairing?

                In article <1124235401.210 293.192920@f14g 2000cwb.googleg roups.com>, NC
                <nc@iname.com > wrote:
                [color=blue]
                > Bush is a Fascist wrote:[color=green]
                > >
                > > What do most languages call a name-value pairing?[/color]
                >
                > A symbol table?[/color]

                Associative array?


                ----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
                http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
                ---= East/West-Coast Server Farms - Total Privacy via Encryption =---

                Comment

                • Roedy Green

                  #9
                  Re: what do most languages call a name-value pairing?

                  On Tue, 16 Aug 2005 20:03:00 -0400, "George Cherry"
                  <GWCherryHatesG reenEggsAndSpam @alum.mit.edu> wrote or quoted :
                  [color=blue]
                  >Mapping.
                  >Map.
                  >Relation.
                  >Function.
                  >Table.
                  >Dictionary.[/color]

                  the Forth term is "vocabulary "

                  It depend on what the values are. Dictionary implies a definition.
                  Map implies a correspondence between two sets.
                  Function implies something that is computed.

                  What do the SQL people call them?

                  Comment

                  • Richard Bos

                    #10
                    Re: what do most languages call a name-value pairing?

                    "Bush is a Fascist" <z333r@yahoo.co m> wrote:
                    [color=blue]
                    > What do most languages call a name-value pairing?[/color]

                    A troll.

                    Richard

                    Comment

                    • Thomas G. Marshall

                      #11
                      Re: what do most languages call a name-value pairing?

                      <PLONK>


                      Comment

                      • Bush is a Fascist

                        #12
                        Re: what do most languages call a name-value pairing?

                        >Mapping.[color=blue]
                        >Map.
                        >Relation.
                        >Function.
                        >Table.
                        >Dictionary.[/color]

                        Oh jeez, now I see why I should have *never* sold my
                        discrete math book back to the college.

                        Hmm...anybody know of a discrete math cheet sheet
                        anywhere on the Web?

                        Comment

                        • Virgil Green

                          #13
                          Re: what do most languages call a name-value pairing?

                          Bush is a Fascist wrote:[color=blue]
                          > Hi all,
                          >
                          > What do most languages call a name-value pairing?
                          >
                          > Or perhaps my question should be, why not just call it
                          > a name-value pairing? Too many syllables?
                          >
                          > Did Knuth invent a handy term for such a thing?
                          >
                          > Thanks.
                          > 333[/color]

                          I would suggest ... "map"

                          --
                          Virgil


                          Comment

                          • Chung Leong

                            #14
                            Re: what do most languages call a name-value pairing?

                            I believe it's called a pong lo'laHghach chang'eng in Klingon.

                            Comment

                            • Joe Smith

                              #15
                              Re: what do most languages call a name-value pairing?

                              Roedy Green wrote:[color=blue]
                              > On Tue, 16 Aug 2005 20:03:00 -0400, "George Cherry"
                              > <GWCherryHatesG reenEggsAndSpam @alum.mit.edu> wrote or quoted :[color=green]
                              >>Table.
                              >>Dictionary.[/color]
                              >
                              > the Forth term is "vocabulary "
                              >
                              > It depend on what the values are. Dictionary implies a definition.[/color]

                              They're called dictionaries in PostScript.
                              The value is defined.
                              -Joe

                              Comment

                              Working...