4 ms·
Yeah lack of generics with the argument of "simplicity" is a special kind of crazy. I was thinking of the ImmutableDictionary that's more recent. Normally in C
by alkonaut 9y ago
Yeah lack of generics with the argument of "simplicity" is a special kind of crazy.
I was thinking of the ImmutableDictionary that's more recent. Normally in C#/Java you should rarely expose collection types directly so you almost always encapsulate the list/dictionary and provide e.g GetReservation(string id) to the outside, which makes it less common to even need the readonly types at all. Immutable ones are a whole different thing since they enable proper sharing of whole collections.