News for hackers. Stuff that matters.
Re:Dueling Rhetoric of Clojure and Haskell by tome on Wednesday November 01, 2017 @06:08PM (#15605950)
This is a rather glib response. Of course one should choose the right tools for the situation. Personally if I'm prototyping an algorithm I'd rather do it with types so I don't write any code that was clearly nonsense before I even tried to run it.
Re:Dueling Rhetoric of Clojure and Haskell by AnimalMuppet on Wednesday November 01, 2017 @07:12PM (#15606351)
Personally, I work the same way you do. But I've heard enough people who want the faster feedback of a REPL-like environment to accept that their approach at least feels more productive to them. It may even be more productive - for them. If so, tying them down with type specifications would slow them down, at least in the prototyping phase.
Re:Dueling Rhetoric of Clojure and Haskell by tome on Thursday November 02, 2017 @03:26AM (#15608485)
That certainly seems like a reasonable hypothesis to explore and I'm curious to try a Haskell "EDN"-like type as defined in the article to see if that helps me prototype faster!