News for hackers. Stuff that matters.
Re:Things I Was Wrong About: Types by tluyben2 on Sunday September 27, 2020 @10:58AM (#24607097)
> Types almost always overconstrain

Not in my experience; so many, basically, stringy types.

> Each part of your code relies on some very specific properties of your data,

So then you either have a type that exposes those you need or you have different types for different functions.

> yet most type systems end up restricting your function to only work

Again, I don't understand this statement; someone implemented the types to fit the data for some functions they needed. How does the 'type system restrict' anything?

There are no comments on this comment yet.