Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Haskell the good

Name: Anonymous 2017-01-18 6:20

It's a good idea to learn Haskell even if you don't like it or agree with its ideals.

Name: Anonymous 2017-01-22 18:12

>>11
Nowhere in this post is there talk about optimizing Haskell to resemble C. In fact, if you look at the code, it uses a lot of functional Lego combinations. Try rewriting this in C, for example:

getBlocks = map mkBlock . drop 1 . B.split '>' <$> B.getContents
where
mkBlock bs1 = Block h t
where (h, t) = B.break (== '\n') bs1


Oh and you didn't even get to the bottom paragraph, did you?

But if you aren't planning to do a significant amount of micro-optimisation then you don't need C. Haskell will give you the same performance, or better, and cut your development and maintenance costs by 75 to 90 percent as well.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List