Conversation

The more I read Charity Major's threads the less confident I am that types as we use them today are a net win.
6
22
Grab me for a beer for a better take but basically runtime monitoring in langs like Haskell is light years behind eg. Smalltalk.
4
22
The issue is not with types at the source but with GHC’s typed _intermediate representations_ which make it difficult to write transforms that make such monitoring possible in other languages.
1
8
It is tricky to ensure that every transform preserves typed-ness, e.g. difficult to write a transform that just "traces" the inputs and outputs for each function call (a trivial thing with a python "decorator"), as the inputs must have "Show" instances etc.
1