?

Log in

Tue, Jul. 12th, 2011, 02:05 pm
Functional programming and lambdas in C++

(Without waiting for C++0x)

I actually made it to the pub meet yesterday for the first time in months, and the subject came up. I'm not sure if the relevent person still reads this, but http://www.boost.org/doc/libs/1_47_0/libs/phoenix/doc/html/index.html looks interesting.

(Note to self, look at JVM 7 dynamic language support, re-read The Art of the Metaobject Protocol.)

Tue, Jul. 12th, 2011 01:36 pm (UTC)
keristor

I think all programming should be functional. Programs that don't work are a pain. *g*

(My maths lecturer in 6th form had a story about that. A physicist and a mathematition -- who could have been him, but I don't remember for sure -- had a long discussion about 'function', and were both agreeing that it was a very good thing. Half an hour or so later they realised that they meant completely different things by the term...)

Tue, Jul. 12th, 2011 08:20 pm (UTC)
armb

As you know Bob, http://en.wikipedia.org/wiki/Functional_programming

Tue, Jul. 12th, 2011 08:42 pm (UTC)
keristor

Oh, I did better than that, I read part of your link and started getting rather excited (I'd wondered how they were going to do lambda calculus in C++).

But logically the opposite of functional is dysfunctional, and I've seen too much of that sort of programming...