meetings/2024/LDM-2024-07-15-usage-data.md
Building a large internal repo with this.field/value style of breaking changes had 100+ errors. Hit every variation of the diagnostic:
field as fieldvalue as fieldthis.that.value in accessorExample:
public int Value
{
get { return this.value; }
set
{
this.value = value;
this.valuePtr = &value;
}
}
Random repos found with GH queries
I only dug in the first 4-5 pages for each query as I felt it was representative at that point. Possible I'm wrong but I doubt the numbers would change if we dug any deeper.
More GH queries:
Largest intentional breaking change we've in last ~5 years was lambda inference and overload changes:
My conclusions from data:
field and _field are uncommon but not rare field names
field/_field is a style decisionthis.field = vs. field =value and _value are common field names
value/_value is a style decisionthis.value vs. value =this.value or this.field are not viable