473,486 Members | 1,733 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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

Nov 15 '05 #1
15 1098
On Tue, 16 Aug 2005 21:06:44 +0100, Bush is a Fascist <z3***@yahoo.com>
wrote:
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


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

Dan.

--
Daniel Dyer
http://www.dandyer.co.uk
Nov 15 '05 #2
On Tue, 16 Aug 2005 21:11:19 +0100, "Daniel Dyer"
<da*@dannospamformepleasedyer.co.uk> wrote or quoted :
A tuple, or 2-tuple in this case, (http://en.wikipedia.org/wiki/Tuple)?


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)
Nov 15 '05 #3
Bush is a Fascist wrote:
What do most languages call a name-value pairing?


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

--
Jock
Nov 15 '05 #4
NC
Bush is a Fascist wrote:

What do most languages call a name-value pairing?
A symbol table?
Or perhaps my question should be, why not just call it
a name-value pairing? Too many syllables?


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

Cheers,
NC

Nov 15 '05 #5

"Bush is a Fascist" <z3***@yahoo.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
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?


Mapping.
Map.
Relation.
Function.
Table.
Dictionary.
???????????
Nov 15 '05 #6
In article <11**********************@f14g2000cwb.googlegroups .com>, NC
<nc@iname.com> wrote:
Bush is a Fascist wrote:

What do most languages call a name-value pairing?


A symbol table?


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 =---
Nov 15 '05 #7
On Tue, 16 Aug 2005 20:03:00 -0400, "George Cherry"
<GW***************************@alum.mit.edu> wrote or quoted :
Mapping.
Map.
Relation.
Function.
Table.
Dictionary.


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?
Nov 15 '05 #8
"Bush is a Fascist" <z3***@yahoo.com> wrote:
What do most languages call a name-value pairing?


A troll.

Richard
Nov 15 '05 #9
<PLONK>
Nov 15 '05 #10
>Mapping.
Map.
Relation.
Function.
Table.
Dictionary.


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?

Nov 15 '05 #11
Bush is a Fascist wrote:
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


I would suggest ... "map"

--
Virgil
Nov 15 '05 #12
I believe it's called a pong lo'laHghach chang'eng in Klingon.

Nov 15 '05 #13
Roedy Green wrote:
On Tue, 16 Aug 2005 20:03:00 -0400, "George Cherry"
<GW***************************@alum.mit.edu> wrote or quoted :
Table.
Dictionary.


the Forth term is "vocabulary"

It depend on what the values are. Dictionary implies a definition.


They're called dictionaries in PostScript.
The value is defined.
-Joe
Nov 15 '05 #14
Bush is a Fascist wrote:
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?


If I remember correctly in Smalltalk it's called a Pair.

John
http://schemaspy.sourceforge.net

Nov 15 '05 #15
John Currier wrote:
Bush is a Fascist wrote:
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?

If I remember correctly in Smalltalk it's called a Pair.


The std::pair ("standard pair") template is a common way to represent
this concept in C++, too.
Nov 15 '05 #16

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

220
18799
by: Brandon J. Van Every | last post by:
What's better about Ruby than Python? I'm sure there's something. What is it? This is not a troll. I'm language shopping and I want people's answers. I don't know beans about Ruby or have...
54
6496
by: Brandon J. Van Every | last post by:
I'm realizing I didn't frame my question well. What's ***TOTALLY COMPELLING*** about Ruby over Python? What makes you jump up in your chair and scream "Wow! Ruby has *that*? That is SO...
7
3537
by: Michele Simionato | last post by:
So far, I have not installed Prothon, nor I have experience with Io, Self or other prototype-based languages. Still, from the discussion on the mailing list, I have got the strong impression that...
56
3679
by: Xah Lee | last post by:
What are OOP's Jargons and Complexities Xah Lee, 20050128 The Rise of Classes, Methods, Objects In computer languages, often a function definition looks like this: subroutine f (x1, x2, ...)...
12
3269
by: Steven T. Hatton | last post by:
This is something I've been looking at because it is central to a currently broken part of the KDevelop new application wizard. I'm not complaining about it being broken, It's a CVS images. ...
31
2476
by: N.Davis | last post by:
I am very new to Python, but have done plenty of development in C++ and Java. One thing I find weird about python is the idea of a module. Why is this needed when there are already the ideas of...
121
9896
by: typingcat | last post by:
First of all, I'm an Asian and I need to input Japanese, Korean and so on. I've tried many PHP IDEs today, but almost non of them supported Unicode (UTF-8) file. I've found that the only Unicode...
4
426
by: Sweety | last post by:
plz reply, thanks in advance. bye
100
5153
by: E. Robert Tisdale | last post by:
What is an object? Where did this term come from? Does it have any relation to the objects in "object oriented programming"?
669
25375
by: Xah Lee | last post by:
in March, i posted a essay “What is Expressiveness in a Computer Language”, archived at: http://xahlee.org/perl-python/what_is_expresiveness.html I was informed then that there is a academic...
0
7094
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7123
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7173
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6839
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7305
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5427
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing,...
0
3066
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3070
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
598
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.