C# has had pretty much exactly this as a design proposal for ages... I think it was first proposed for C# 6, now C# 8 is out and it's still just a proposal :/
That's just it: it's been a proposal. It hasn't shown any signs of actually being implemented any time soon. Java, on the other hand, looks like it's already decided on a design and is now going for it.
As a C# lover, I just want a damn record type already!
Yes that wasn't a counterpoint, I was complaining with you :)
Even though I mostly use F#, I often enough interact with C# types that I would trust more with their immutability and comparability if they were declared as records.
9
u/falconfetus8 Jan 17 '20
Your move, C#.