-
Notifications
You must be signed in to change notification settings - Fork 93
Open
Labels
type: clarityWhile not technically incorrect, the Standard is potentially confusingWhile not technically incorrect, the Standard is potentially confusing
Milestone
Description
To add your input to the discussion of a topic in this issue, do NOT create a new comment; instead, locate the existing topic thread and add your contribution to its end using the “edit” option.
Introduction
The word “collection” is used in the draft-v8 C# spec 90-odd times; however, the spec does not contain a definition for this word as a term.
Although we’ve gotten along without such a definition, collection-related features will be added in V8 and future versions, and one or more definitions might be desirable. Specifically:
- V8: The Indexer-and-Range feature spec defines the term “indexable sequence” (my own invention, which I propose be renamed as “indexable collection”).
- V12: Adds support for collection expressions, and inline arrays (which are collections).
- V13: Replaces “parameter array” with “parameter collection.”
And Bill is aware of other, potential future uses.
I propose that we define the term “collection” and some flavors thereof, and that we use them consistently starting with draft-v8.
Topics
- Where to define any collection-related terms?:
- Proposed term “collection”:
- Proposed term “collection type”:
- Proposed term “initializable collection type”:
- Proposed term “indexable collection”:
- Proposed term “countable type”:
- Future term “collection expression”:
- Future term “parameter collection”:
- Alternatives to “collection” as a generic English word:
Metadata
Metadata
Assignees
Labels
type: clarityWhile not technically incorrect, the Standard is potentially confusingWhile not technically incorrect, the Standard is potentially confusing