armb: Dog jumping in water (Default)
armb ([personal profile] armb) wrote2011-07-12 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.)

[identity profile] keristor.livejournal.com 2011-07-12 01:36 pm (UTC)(link)
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...)

[identity profile] keristor.livejournal.com 2011-07-12 08:42 pm (UTC)(link)
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...

[identity profile] purityjybo.livejournal.com 2012-07-21 09:10 pm (UTC)(link)

http://www.youtube.com/watch?v=aMzgVshG6CI