3 ms·
I cannot wrap my head around the uses of structural typing. Unless I tell something to be a certain type I expect it not to be.
by Aeolun 6y ago
I cannot wrap my head around the uses of structural typing. Unless I tell something to be a certain type I expect it not to be.
- higerordermap 6y agoWell it is subjective. That's why I wrote it may be good or bad. But those from dynamic typing backgrounds may find structural typing more natural. I don't bother as long as there is a way to implement an interface without lot of subclassing boilerplate.