News for hackers. Stuff that matters.
Re:Programming Languages Are Simply Not Powerful Enough by mattmanser on Friday March 01, 2013 @04:08AM (#5303469)
While I on the whole agree with the sentiment that there are a lot of delusional people here thinking that functional is better even though it's constantly been the new fad and still hasn't caught on, this post is wrong and was proved wrong in the last 4 years.

Because any language feature that is objectively good with no downside or trade-off has already been implemented in some popular language somewhere.

But C# and now C++ and Java have all very recently and quite suddenly included lambdas and closures?

It took javascript, a hybrid language, to show language designers just how powerful those features can be. It took a practical application of the concepts in an almost OOP setting to allow people to understand just why they're so useful.

Re:Programming Languages Are Simply Not Powerful Enough by EwanToo on Friday March 01, 2013 @07:01AM (#5303836)
Not sure why you got downvoted there, I think your mostly right, or at least have a valid opinion. Maybe it's the word "delusional" :)
Re:Programming Languages Are Simply Not Powerful Enough by npsimons on Friday March 01, 2013 @09:16AM (#5304277)
They were just wanting to be charitable and prove him correct; obviously only delusional people would downvote such a supreme comment!
Re:Programming Languages Are Simply Not Powerful Enough by mattmanser on Saturday March 02, 2013 @01:59PM (#5310568)
Yeah, I didn't really mean it like that.

I think the entire time I've been on HN people have been saying everyone's just about to switch to functional programming. We've had a lot of advocacy for Haskell, Scala and F#, but no big switch. It's fairly obviously never going to happen at this point, but they still say it.

In the same time frame MVC has transformed web programming, with Django, Rails, Symfony & ASP.Net MVC all becoming a norm in web programming.

If functional programming really were that compelling, we'd have seen a similar switch by now. Instead what's happened is that all the main languages have adopted the best bits of functional programming and left the bits which make it hard to write large programs.