4 ms·
This has been a very informative discussion, so thank you for that. I did want to point out, though, that both languages have other (compound) value types than
by kbolino 1y ago
This has been a very informative discussion, so thank you for that.
I did want to point out, though, that both languages have other (compound) value types than just structs. Go has value-based arrays, and C# has value-based tuples. It looks like C# may gain value-based discriminated unions as well, though it's not settled yet: https://github.com/dotnet/csharplang/blob/main/proposals/unions.md https://github.com/dotnet/csharplang/blob/main/proposals/uni...