Talk:Name–value pair

From WikiProjectMed
Jump to navigation Jump to search

A/V pairs in theory of PLs

It turns out that attribute-value pairs are quite useful in theorising about programming languages as well as designing practical systems. See "A semantics of multiple inheritance", Luca Cardelli, Information and Computation, 76(2/3): 138-164, February 1988, available here as PDF. Should we mention this in the article? Cheers, CWC(talk) 01:32, 28 August 2006 (UTC)[reply]

Name-value pair might be a better title

I was surprised to get redirected to a page using the term 'attribute-value pair' rather than 'name-value pair'. Obviously a number of different meanings can be applied to the first element of a name-value pair, and in different contexts 'attribute' often have different specific meanings. For example in C#, a class can have both attributes *and* properties, and a dictionary style collection can also have keys.

I propose therefor that the more-generic term 'name' would be a better word to use in the title and body of this article to explain the overall concept. Burt Harris (talk) 17:40, 13 June 2016 (UTC)[reply]

I agree. Name-value pair would be a more appropriate title. I want to move Attribute-value pair to Name-value pair and make small changes in the lead section.
- HappyMouse2 (talk) 20:36, 2 June 2021 (UTC)[reply]