News for hackers. Stuff that matters.
Re:Lisp and Haskell (2015) by agentultra on Thursday October 08, 2020 @09:24AM (#24718870)
I used to think Javascript was a great prototyping language. In fact I specifically practiced prototyping with it -- my github is littered with repo's for each of my prototypes -- I call them the Laundromat Demos. I would use the 70-80 minutes I had at the laundromat to write a prototype for a game in JS.

However I've tried something similar with Haskell. I think I prefer Haskell for prototyping these days. It turns out you can get a long way playing with the types. Often I spend more time prototyping the types and they guide me to the implementation which is often quite small.

It takes some training and work to get there but I think Haskell, for me, is a better prototyping language -- I don't have to deal with undefined, accidental prototype overloading, etc.

Re:Lisp and Haskell (2015) by ghostwriter on Thursday October 08, 2020 @11:19AM (#24719899)
+1, I'm impressed how far these prototypes can get you, especially if there's an extra layer of correctness on top of the existing Haskell type signatures. For instance, LiquidHaskell [1] can naturally shift you towards implementing most of the necessary validation and parsing logic as part of your work on precise type signatures.

[1] https://www.youtube.com/watch?v=zCJV0xNY06o

Re:Lisp and Haskell (2015) by tome on Thursday October 08, 2020 @11:44AM (#24720206)
Interesting correspondence between your comment and sfvisser's:

https://news.ycombinator.com/item?id=24716903