Hi,

I'm working on a project in Haskell and C++ where the former is the brains and the latter is for UI, interaction etc.

I've read this http://www.altdevblogaday.com/2012/04/26/functional-programming-in-c/ and a number of other haskell posts suggesting the OOP is not the way to go.

Without trying to emulate functional programming through templates or boost::phoenix, what approaches do you all favor when designing parts of an application in C++?  Patterns to embrace or avoid?

Should I just use functions and handle things with name spaces?  I was thinking about handling the callbacks with boosts signals and slots 2

I know this is not entirely haskell centric, but it is a question for haskell users.

Thanks,
Casey

--
Casey James Basichis
Composer - Cartoon Network
http://www.caseyjamesbasichis.com
caseybasichis@gmail.com
310.387.7540