473,386 Members | 1,832 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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

Aug 16 '05 #1
16 1488
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
Aug 16 '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)
Aug 16 '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
Aug 16 '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

Aug 16 '05 #5
On 2005-08-16, Bush is a Fascist <z3***@yahoo.com> wrote:
What do most languages call a name-value pairing?


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>
Aug 16 '05 #6

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


A troll.

Richard
Aug 17 '05 #10
<PLONK>
Aug 17 '05 #11
>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?

Aug 17 '05 #12
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
Aug 17 '05 #13
I believe it's called a pong lo'laHghach chang'eng in Klingon.

Aug 17 '05 #14
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
Aug 17 '05 #15
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

Aug 19 '05 #16
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.
Aug 19 '05 #17

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

Similar topics

220
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
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
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
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
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
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
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
by: Sweety | last post by:
plz reply, thanks in advance. bye
100
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
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
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
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
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
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...

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.