4 ms·
Very nicely written article.. and yeah, stable-pointer all the things! meme. That said, these issues are why I'm considering switching away from Haskell long-t
by fiddlybit 3y ago
Very nicely written article.. and yeah, stable-pointer all the things! meme.
That said, these issues are why I'm considering switching away from Haskell long-term... but that's not easy, I'm deeply invested, and all the other features let me be really productive / creative. But the occasional weird runtime bug or timesink that takes a week to track down.. could live without that.
(There are ways to use the concurrency and queuing primitives like these kind of safely but it needs a deep expertise, there are too many non-obvious parts where you can let an exception slip through at the unintended place or otherwise get yourself burned. Lack of stack traces don't help much either, though that can be somewhat orthogonal)
- empago 3y ago> I'm deeply invested I used to think that too, and a trusted mentor suggested the Sunk Cost Fallacy was in play https://www.verywellmind.com/what-is-sunk-cost-fallacy-7106851 https://www.verywellmind.com/what-is-sunk-cost-fallacy-71068.... Walking away from Haskell was like leaving a bad marriage. Now, in retrospect, it's clear I stayed too long.