News for hackers. Stuff that matters.
Re:Code Density by seanmcdirmid on Tuesday June 25, 2013 @12:36AM (#5937554)
Actually, FP is easier to implement given their simple semantics, it can even be implemented to go very fast for a very long time (e.g. Caml). But most OOP languages are imperative, which definitely maps to the machine more easily (note: OO is orthogonal to imperative even if they are often coupled).

Object-oriented programming became popular when the number of programmers increased dramatically in the 80s/90s. Most of the high-end programmers do prefer FP, especially as they have the math background to appreciate it. But everyone else...objects have a usability advantage.

Re:Code Density by stormbrew on Tuesday June 25, 2013 @01:14AM (#5937663)
> Most of the high-end programmers do prefer FP

I'd really like to hear an argument for this that doesn't beg the question.

Re:Code Density by seanmcdirmid on Tuesday June 25, 2013 @02:16AM (#5937853)
It is anecdotal and probably a bit too strong!

Many of the strong programming languages people I have met have been amazing programmers strongly in the "FP" category. If you look at a lot of the PL people that do dev work in Google, they belong to this category as well.

I'm not in that world personally. I attended WGFP once and found people like Simon Peyton Jones to be crazy smart and able to work with through complex abstractions quickly to find very elegant solutions. But I just couldn't think like that, I'm more OO.