Re:Simon Peyton Jones – Haskell is useless [video]
by refulgentis on Sunday February 18, 2024 @05:06PM
(#39423946)
I don't know what I'm supposed to take away from this. (beyond the well-established Haskell-esque effects bad)
[ Parent
| on HN ]
Re:Simon Peyton Jones – Haskell is useless [video]
by curryhoward on Sunday February 18, 2024 @08:20PM
(#39425261)
Citation needed on "well-established". I find myself often benefiting from Haskell's disciplined approach to effects.
Re:Simon Peyton Jones – Haskell is useless [video]
by refulgentis on Sunday February 18, 2024 @10:02PM
(#39425849)
" (beyond the well-established Haskell-esque effects bad)"
read that as:
"beyond the well-established idea, from Haskell, that side effects are troublesome and need to be explicitly modelled and thought about."
Re:Simon Peyton Jones – Haskell is useless [video]
by curryhoward on Sunday February 18, 2024 @10:29PM
(#39425993)
Ah, I think your clarification makes a lot more sense than your original phrasing, because Haskell's position is indeed that side effects are bad, not that effects are bad. The bad thing is "side", not "effects".
Re:Simon Peyton Jones – Haskell is useless [video]
by mrkeen on Monday February 19, 2024 @02:47PM
(#39433869)
Another possible takeaway is to start from something 'principled' (for whatever definition of principled you like) and then add functionality, rather than starting on shaky ground and trying to patch it up later.
From memory the example in the video was 'pure functions first - then figure out IO'. But it could just as easily apply to memory safety, or nulls.
Why build a new language with state-of-the-art static analysis for detecting nulls, when you could just refrain from putting nulls into your new language?