3 ms·
What we want is a comparison: what was the OO code, and what did the functional code turn out to be? That way, we can judge for ourselves. Typically, these exa
by seanmcdirmid 12y ago
What we want is a comparison: what was the OO code, and what did the functional code turn out to be? That way, we can judge for ourselves.
Typically, these examples take low-end crappy OO code and convert it to high-end elegant FP code. But this doesn't really convince anyone.
- samstokes 12y agoI don't know the OP's examples, but I think he is saying something subtly different: that he took (his own) low-end crappy OO code and converted it to high-end elegant OO code, using the insight gained from how he would have written it as FP.
- deleted 12y ago[deleted]
- seanmcdirmid 12y agoI didn't get that from the article, but they aren't explicit about it.
- jacquesm 12y agoI got that too, and that's exactly why I would like to see the code before and after. That's far more interesting than the rest of the article in my opinion.