4 ms·
For pivoting? I don't know about dependent types, sometimes it's possible in theory to know the type of the pivot columns because you know the possible combinat
by zimablue 8y ago
For pivoting? I don't know about dependent types, sometimes it's possible in theory to know the type of the pivot columns because you know the possible combinations of column fields that you're pivoting from, but is that dependent-typable?
I think there's a kind of Motte and Bailey that goes on with people who think typesystems are the one true god. They choose the simplest typesystem as their example of the cognitive/learning overhead, (say C#?)
But if you question the limitations they go to "but it's possible in X obscure typesystem".
- deleted 8y ago[deleted]
- Derbasti 8y agoBut that's exactly to the OP's point: You need to think about this. You need to figure it out beforehand. In Python, you can express this without that mental overhead--particularly while prototyping.