News for hackers. Stuff that matters.
Re:Destroy All Ifs – A Perspective from Functional Programming by frozenport on Saturday July 16, 2016 @05:27PM (#12107941)
>> you want to change the mechanism of comparison (perhaps introduce locale sensitive comparison)

I couldn't agree more, and this is why I think most FP programs are about as intellectual stimulating as `std::min_element`

Re:Destroy All Ifs – A Perspective from Functional Programming by svanderbleek on Saturday July 16, 2016 @10:52PM (#12108834)
How does using if statements make it easier to introduce locale sensitive computation? A locale should be represented in the arguments or as a transformation, very similar to what the article is doing.