b3490452ab
* Update ref-struct-interfaces.md * Update ref-struct-interfaces.md * Update ref-struct-interfaces.md * Update ref-struct-interfaces.md * Update ref-struct-interfaces.md * Update ref-struct-interfaces.md * Update ref-struct-interfaces.md * Update ref-struct-interfaces.md * Update ref-struct-interfaces.md * Update proposals/ref-struct-interfaces.md Co-authored-by: Cyrus Najmabadi <cyrus.najmabadi@gmail.com> * Apply suggestions from code review Co-authored-by: Charles Stoner <10732005+cston@users.noreply.github.com> * Update ref-struct-interfaces.md * Update ref-struct-interfaces.md --------- Co-authored-by: Cyrus Najmabadi <cyrus.najmabadi@gmail.com> Co-authored-by: Charles Stoner <10732005+cston@users.noreply.github.com> |
||
---|---|---|
.. | ||
csharp-6.0 | ||
csharp-7.0 | ||
csharp-7.1 | ||
csharp-7.2 | ||
csharp-7.3 | ||
csharp-8.0 | ||
csharp-9.0 | ||
csharp-10.0 | ||
csharp-11.0 | ||
csharp-12.0 | ||
inactive | ||
rejected | ||
README.md | ||
breaking-change-warnings.md | ||
collection-expressions-next.md | ||
declaration-expressions.md | ||
dictionary-expressions.md | ||
discriminated-unions.md | ||
expand-ref.md | ||
extensions.md | ||
first-class-span-types.md | ||
format.md | ||
intptr-operators.md | ||
intrinsics.md | ||
list-patterns-enumerables.md | ||
lock-object.md | ||
low-level-struct-improvements.md | ||
method-group-natural-type-improvements.md | ||
null-conditional-assignment.md | ||
null-conditional-await.md | ||
nullable-constructor-analysis.md | ||
nullable-enhanced-common-type.md | ||
nullable-parameter-default-value-analysis.md | ||
params-collections.md | ||
params-span.md | ||
pattern-variables.md | ||
pointer-null-coalescing.md | ||
proposal-template.md | ||
readonly-locals.md | ||
readonly-parameters.md | ||
ref-out-lambda-params.md | ||
ref-struct-interfaces.md | ||
ref-unsafe-in-iterators-async.md | ||
repeated-attributes.md | ||
self-constraint.md | ||
semi-auto-properties.md | ||
speclet-disclaimer.md | ||
variance-safety-for-static-interface-members.md |
README.md
C# Language Proposals
Language proposals are living documents describing the current thinking about a given language feature.
Proposals can be either active, inactive, rejected or done. Active proposals are stored directly in the proposals folder, inactive and rejected proposals are stored in the inactive and rejected subfolders, and done proposals are archived in a folder corresponding to the language version they are part of.
Lifetime of a proposal
A proposal starts its life when the language design team decides that it might make a good addition to the language some day. Typically it will start out being active, but if we want to capture an idea without wanting to work on it right now, a proposal can also start out in the inactive subfolder. Proposals may even start out directly in the rejected state, if we want to make a record of something we don't intend to do. For instance, if a popular and recurring request is not possible to implement, we can capture that as a rejected proposal.
The proposal may start out as an idea in a discussion issue, or it may come from discussions in the Language Design Meeting, or arrive from many other fronts. The main thing is that the design team feels that it should be done, and that there's someone who is willing to write it up. Typically a member of the Language Design Team will assign themselves as a champion for the feature, tracked by a Champion issue. The champion is responsible for moving the proposal through the design process.
A proposal is active if it is moving forward through design and implementation toward an upcoming release. Once it is completely done, i.e. an implementation has been merged into a release and the feature has been specified, it is moved into a subdirectory corresponding to its release.
If a feature turns out not to be likely to make it into the language at all, e.g. because it proves unfeasible, does not seem to add enough value or just isn't right for the language, it will be rejected. If a feature has reasonable promise but is not currently being prioritized to work on, it may be declared inactive to avoid cluttering the main folder. It is perfectly fine for work to happen on inactive or rejected proposals, and for them to be resurrected later. The categories are there to reflect current design intent.
Nature of a proposal
A proposal should follow the proposal template. A good proposal should:
- Fit with the general spirit and aesthetic of the language.
- Not introduce subtly alternate syntax for existing features.
- Add a lot of value for a clear set of users.
- Not add significantly to the complexity of the language, especially for new users.
Discussion of proposals
Feedback and discussion happens in discussion issues. When a new proposal is added to the proposals folder, it should be announced in a discussion issue by the champion or proposal author.