News for hackers. Stuff that matters.
Re:Getting Started with Functional Programming in F# by Rapzid on Friday February 10, 2017 @01:02AM (#13613564)
fsharp would really take off if it had a framework as attractive as phoenix.
Re:Getting Started with Functional Programming in F# by pjmlp on Friday February 10, 2017 @05:05AM (#13614377)
Is phoenix actually taking off outside SV startups?

There are zero Elixir jobs on my part of the planet.

Whereas F# is on my PC thanks to a full VS install done by IT, and I can at least use it instead of Powershell.

Re:Getting Started with Functional Programming in F# by i_s on Friday February 10, 2017 @10:41AM (#13616085)
I've thought about this too, and unfortunately it is not feasible, because of the poor/nonexistent meta programming support in F#. Phoenix uses macros for optimizing functions from templates at compile time, handling translations in a clean way, and removing a lot of boilerplate.

Source: Have spent a lot of time with F#, including writing Type Providers (which would not solve the problem).

Re:Getting Started with Functional Programming in F# by Rapzid on Monday February 13, 2017 @08:19PM (#13640434)
I'm not sure what you mean by optimizing functions. I understand quoting isn't the best thing going vs true macros, but fsharp has full metaprogramming capabilities and operator overload plus custom operators produce some nice DSL's.

Anyway, I don't think to be "attractive" it needs to match Phoenix/elixir macros. Nice frameworks can be made in fsharp, and its type system and tooling blows type specs and dialyzer out of the water.

Really it needs to be:

* (x-platform && easy to use) which is why I'm so keen for the official 4.1 fsharp release. The ecosystem around fsharp and dotnet core needs all the sharp edges ground down.

* Smooth OOTB experience

* Community momentum

* Excellent plug/middleware solution(building on top of asp.net core might be the right approach)

Then just let fsharp shine on its own merits.