Added notes for December 7th, 2020.
This commit is contained in:
parent
cdce61573d
commit
21d94ea8c2
30
meetings/2020/LDM-2020-12-07.md
Normal file
30
meetings/2020/LDM-2020-12-07.md
Normal file
|
@ -0,0 +1,30 @@
|
|||
# C# Language Design Meeting for December 7th, 2020
|
||||
|
||||
## Agenda
|
||||
|
||||
1. [Required Properties](#required-properties)
|
||||
|
||||
## Quote(s) of the Day
|
||||
|
||||
- "I also can't see anyone's video, so raise your hand [in Teams] if you're not here."
|
||||
- "If you can't solve required properties, you're not making a time machine."
|
||||
|
||||
## Discussion
|
||||
|
||||
### Required Properties
|
||||
|
||||
https://github.com/dotnet/csharplang/discussions/4209
|
||||
|
||||
Today, we took a look at the next revision of the required properties proposal, after a few months of design work from a smaller
|
||||
team to flesh out the design. We had a small questions coming out of the meeting:
|
||||
|
||||
* Could assignments in the nominal parameter list always imply `base.`? It would make it easier for automatically considering
|
||||
hidden properties being initialized.
|
||||
* We could make it more user friendly by possibly adding warning when a property that is required by the constructor is definitely
|
||||
assigned in the constructor?
|
||||
* There's still some debate as to this should only be a source-breaking change.
|
||||
* Is `init` the right word? Maybe `requires` would be better?
|
||||
|
||||
More generally, the reaction to this in the LDM was mixed. While we believe that this is the best proposal we've seen to date, it's
|
||||
very complicated and introduces a bunch of new concepts. We may need to start looking at simplifying scenarios and seeing whether that
|
||||
allows us to cut this proposal down a bit.
|
|
@ -15,14 +15,16 @@
|
|||
|
||||
- List patterns (Fred, https://github.com/dotnet/csharplang/pull/3245)
|
||||
|
||||
## Dec 7, 2020
|
||||
|
||||
- Required Properties (Fred)
|
||||
|
||||
# C# Language Design Notes for 2020
|
||||
|
||||
Overview of meetings and agendas for 2020
|
||||
|
||||
## Dec 7, 2020
|
||||
|
||||
[C# Language Design Notes for December 7th, 2020](https://github.com/dotnet/csharplang/blob/master/meetings/2020/LDM-2020-12-07.md)
|
||||
|
||||
- Required Properties
|
||||
|
||||
## Dec 2, 2020
|
||||
|
||||
[C# Language Design Notes for December 2nd, 2020](https://github.com/dotnet/csharplang/blob/master/meetings/2020/LDM-2020-12-02.md)
|
||||
|
|
Loading…
Reference in a new issue