News for hackers. Stuff that matters.
Re:Ask HN: Why isn't F# more popular? by usgroup on Wednesday May 31, 2017 @09:21AM (#14452246)
Data wrangling is a really clear case. I do a tonne of this and it's so much easier in FP.
Re:Ask HN: Why isn't F# more popular? by maxxxxx on Wednesday May 31, 2017 @09:51AM (#14452474)
I can see that. I wish I was in a more self contained environment. But most of us have to glue many different systems together and then FP is harder to pull off.
Re:Ask HN: Why isn't F# more popular? by vram22 on Wednesday May 31, 2017 @02:54PM (#14454975)
Why is data wrangling easier in FP? Is it because of functional composition being like using Unix pipelines (inside the same program)? But one can do that in a procedural language that has functions too.
Re:Ask HN: Why isn't F# more popular? by lobrien on Wednesday May 31, 2017 @06:25PM (#14456417)
Yes, functional composition in part. And while pretty-much-everyone has first-class functions now, they're usually not _quite_ as easy to declare and use as they are in F# (e.g., if you have to specify `Func<string, Func<string, int>> Foo` rather than `let Foo s1 s2 = ... `

Another data-wrangling thing easier in F# (not FP in general) is type-providers.

Re:Ask HN: Why isn't F# more popular? by vram22 on Wednesday May 31, 2017 @06:30PM (#14456448)
Thanks.
Re:Ask HN: Why isn't F# more popular? by usgroup on Thursday June 01, 2017 @09:14AM (#14459939)
In the clojure case, it's because you've got a handful of data types and a massive amount of functions for manipulating them which you just need to glue together in a pipeline.