News for hackers. Stuff that matters.
Re:John Carmack: Thoughts on Haskell [video] by bad_user on Monday August 26, 2013 @04:18PM (#6279610)
If you'll go read his opinions, you'll see that he has been a strong advocate for static analysis. His position is very understandable since he spent a lot of time working on complex pieces of C/C++ code, encountering a lot of subtle accidental errors that could have been avoided with better tools for static analysis or with a better language. He also worked mostly on client side software, where the fail fast / fail hard strategy of projects built in dynamic languages doesn't work so well.

Lisp vs ML vs others is a very subjective issue since languages involve different kinds of trade-offs, so optimal choices depend on the project or on personal style.

Also, this is John Carmack. For me he was a God 10 years ago and he's still one of the best and most practical developers we have today. Seeing him talk about Haskell is amazing.

BTW, I've been a big fan of Scala lately, and I don't see myself using much Haskell precisely because its tools for modularity seem limited. In Scala you can use OOP to build abstract modules, with the much hyped Cake pattern being based on that. Dynamic languages are naturally more modular, however I still prefer static languages.

Re:John Carmack: Thoughts on Haskell [video] by jerf on Monday August 26, 2013 @07:25PM (#6280556)
Haskell's tools for modularity cut in a dimension you're not used to, and if you're not experienced with it, won't see. Percentage-wise in the last 15 years I haven't spent that much time in Haskell, but it's Haskell's tools I'm missing more often in imperative languages than the other way around. (And note the "more often"; it's not that I never miss more conventional tools in Haskell, it's just that I spend more time missing Haskell tools in other languages.)
Re:John Carmack: Thoughts on Haskell [video] by sfvisser on Monday August 26, 2013 @05:18PM (#6279984)
> ...I don't see myself using much Haskell precisely because its tools for modularity seem limited.

> Dynamic languages are naturally more modular

Why is that? I'm pretty convinced pure and especially lazy languages allow for great modularity.

See http://augustss.blogspot.nl/2011/05/more-points-for-lazy-eva... for an interesting view on this.

Re:John Carmack: Thoughts on Haskell [video] by taeric on Tuesday August 27, 2013 @09:45AM (#6283353)
I would think it is because of how "modules" can effectively be "bolted" on top of existing things quite easily.

Consider putting a new "module" on a bicycle. If you were doing it statically, it would have to have the screws in the proper place to be able to attach as it needs. Dynamically, however, you just use a zip tie to hold your piece onto the bike.

To be sure, if you buy a nice bike, many of the common attachments have "static" points where things can be added. If you want to place a holder for a phone, however, you are much more likely to do something that is much more adaptable at fitting things on.

becomes much more easy to bolt on funct

Re:John Carmack: Thoughts on Haskell [video] by pnathan on Monday August 26, 2013 @07:09PM (#6280504)
Yeah, Carmack has weight due to his history of being incredibly technical and writing lots of incredibly useful code. Also, he has a huge profile in the industry.

He's been a heavyweight proponent of static typing for a while - 2-3 years IIRC - and so it doesn't totally surprise me that Haskell is up his alley. It's particularly notable that he prefers it as a technical lead as a low-pass filter on bugs.

Re:John Carmack: Thoughts on Haskell [video] by sseveran on Tuesday August 27, 2013 @12:53AM (#6281523)
Tim Sweeney (Unreal Engine) has also written about haskell and specifically STM (http://www.st.cs.uni-saarland.de/edu/seminare/2005/advanced-...) and more recently on dependently typed languages (http://arxiv.org/pdf/1307.5277v1.pdf).
Re:John Carmack: Thoughts on Haskell [video] by jcsmnt0 on Wednesday August 28, 2013 @07:24PM (#6293294)
Thank you so much for that second link! I've been interested recently in how dependently typed languages can be made more natural for general-purpose programming, and this looks like a really good read. It gives me hope that it won't be too long before there's a dependently typed language comparable to Haskell in terms of community and ecosystem - in my (limited) experience, Agda and Idris are awesome for theorem proving and for small programs, but they're both a ways off from being usable for large, complex programs, and I feel like a big part of what they're lacking is just well-documented libraries for common operations.
Re:John Carmack: Thoughts on Haskell [video] by agentultra on Monday August 26, 2013 @04:28PM (#6279694)
I agree.

When Carmack speaks, I do listen. He's a very good programmer and has the level of experience and technical expertise few will get to enjoy. I think it's awesome to see how far he has come from being a C purist, to C++, and now nice functional languages like Haskell.