Re:Functional programming's smugness problem
by DannoHung on Wednesday April 18, 2012 @12:09PM
(#3858645)
Maybe you're not ready to leave C++, but if you don't have a slightly icky feeling from C++ compared to Haskell, then you've been programming C++ for so long that the weirdness has metabolized.
[ Parent
| on HN ]
Re:Functional programming's smugness problem
by KingMob on Wednesday April 18, 2012 @01:18PM
(#3859064)
Errr... perhaps you meant metastasized? Or solidified/ossified?
I think if it had metabolized, that would mean your body had burnt up the weirdness and gotten rid of it.
Re:Functional programming's smugness problem
by CJefferson on Thursday April 19, 2012 @05:53AM
(#3862164)
This is exactly what I am talking about, I'm "not ready to leave C++".
C++ certainly has it's faults, and some of them are quite painful. However, I find there are things I can do nicer in Haskell than C++, but some jobs call for an XORed linked list, or implementing trailing by knowing my underlying types are C and just calling memcpy, and I can't do that in Haskell.
At http://minisat.se/ , you will find Minisat, an (in my opinion) neat, easy to read(ish) and highly efficient C++ program. I've seen numerous people try to turn it into Haskell and all they have ended up with is something less readable, and much slower.