-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
A-expressionsTerm language related proposals & ideasTerm language related proposals & ideasA-syntaxSyntax related proposals & ideasSyntax related proposals & ideasA-typesystemType system related proposals & ideasType system related proposals & ideasT-langRelevant to the language team, which will review and decide on the RFC.Relevant to the language team, which will review and decide on the RFC.postponedRFCs that have been postponed and may be revisited at a later time.RFCs that have been postponed and may be revisited at a later time.
Description
A portion of the community (and of the core team) sees one or more of the following features as important for programmer ergonomics:
- keyword-based parameters (as opposed to position-based parameters),
- optional parameters (where one provides a default value for them, usually in the parameter list),
- variable-arity functions (which can be seen as a generalization or variation on optional parameters, depending on how you look at it).
This issue is recording that we want to investigate designs for this, but not immediately. The main backwards compatibility concern is about premature commitment to library API's that would be simplified if one adds one or more of the above features. Nonetheless, We believe we can produce a reasonable 1.0 version of Rust without support for this.
(This issue is also going to collect links to all of the useful RFC PR's and/or Rust issues that contain community discussion of these features.)
wting, stanislav-tkach, severen, Valloric, ozkriff and 893 moreKroc, AregevDev, mankinskin, YodaEmbedding, vesperrin and 40 moreAregevDev, lephyrius, JesterOrNot, lukechu10, vesperrin and 21 morestanislav-tkach, adelarsq, jhasse, bluejekyll, nmabhinandan and 96 morestepancheg, serid, lukechu10, vesperrin, locks and 6 morealdanor, lhecker, bluejekyll, 5j9, nmabhinandan and 169 moreYodaEmbedding, lephyrius, tomerze, Schniz, JesterOrNot and 52 moreMSxDOS, lephyrius, NinoScript, JesterOrNot, mpfaff and 33 more
Metadata
Metadata
Assignees
Labels
A-expressionsTerm language related proposals & ideasTerm language related proposals & ideasA-syntaxSyntax related proposals & ideasSyntax related proposals & ideasA-typesystemType system related proposals & ideasType system related proposals & ideasT-langRelevant to the language team, which will review and decide on the RFC.Relevant to the language team, which will review and decide on the RFC.postponedRFCs that have been postponed and may be revisited at a later time.RFCs that have been postponed and may be revisited at a later time.