3 ms·
fsharp would really take off if it had a framework as attractive as phoenix.
by Rapzid 10y ago
fsharp would really take off if it had a framework as attractive as phoenix.
- pjmlp 10y agoIs 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.
- i_s 10y agoI'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).
- Rapzid 10y agoI'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.