by lylecubed · 8y ago · 0 comments
Is there a companion book detailing the ugly downsides of dependent types and how to avoid them, one step at a time?
There's this Reddit answer from two years ago, and the subsequent comments https://www.reddit.com/r/haskell/comments/3zc81v/tradeoffs_o...
It's not really clear why you'd want a book about the downsides of a quite recent development in practically usable programming models. Is it just because you are a hater?
Adopting something purely on it's merits is a bad idea, but nobody ever writes the book about a language/paradigm's downsides. I'm pretty sure that was the joke, but I might be off.
Indeed. One can argue that books like "optimizing X" or "secure X" are about ways to easily write slow or insecure code in X, but this is somewhat narrow. Is there never enough demand for a broader book on downsides of X?
And then there's the Unix-Hater's Handbook...
https://en.wikipedia.org/wiki/The_Unix-Haters_Handbook
I wrote a whole chapter about the downsides of X -- do you think there's a need for a broader book? ;)
https://medium.com/@donhopkins/the-x-windows-disaster-128d39...
It's like seeing a photo of a baby and asking why there isn't a service to provide police records for babies, because you "just want to be careful, you know?"
Both of those implementations are very honest about their shortcomings, and nearly every talk and blogpost for them mentions you can't yet use this in many industrial contexts.
It's very difficult to see this as anything but the usual distate for PL theory that constantly swirls around this community. If the author didn't intend to associate a post with that, then they've done it by accident.
Out of curiosity, why F* or Idris are not practical?