News for hackers. Stuff that matters.
Re:Scala isn't fun anymore by kirse on Tuesday September 13, 2022 @11:34AM (#32825668)
I enjoyed Scala, but I enjoy F# much more. .NET Core is a healthy cross-plat ecosystem, many of the VSCode/F# tooling issues have been eliminated over the past few years (IntelliJ was really one of the core reasons I preferred Scala), plus Akka.NET has F# bindings. Come on in, the water's warm:

https://fsharp.org/learn/

https://getakka.net/

Re:Scala isn't fun anymore by timmyboop on Tuesday September 13, 2022 @12:34PM (#32826577)
How long does it take for someone with about a decade's experience in C# to a point where they can write idiomatic F#?
Re:Scala isn't fun anymore by kirse on Tuesday September 13, 2022 @06:36PM (#32831054)
5yrs ago I was roughly the same, depends how much you commit up front. I had minimal FP experience, so I bought "Domain Modeling Made Functional" [1] by Scott Wlaschin and used it for side projects / class libs first. Took about 6 months to experience the full mental shift.

Even if you eventually decide you can't commit a team to F#, it's highly worth it because doing at least one app in F# will vastly improve your C# and how you structure applications. [2] I personally just got addicted to the expressive power, it's hard to replicate with any other ecosystem given the full power of .NET under the hood. Giraffe is also a great place to start if you know ASP.NET Core. [3]

[1] https://www.amazon.com/dp/1680502549

[2] https://www.youtube.com/watch?v=US8QG9I1XW0

[3] https://github.com/giraffe-fsharp/Giraffe

Re:Scala isn't fun anymore by devmunchies on Tuesday September 13, 2022 @01:23PM (#32827371)
I didn't have c# exp and it took me a month to feel "productive comfort", and less than 2 months until i felt "native comfort". I've been using it for about 2 years now.

That said I:

• had zero C# experience and it was the C# interop that caused me the most pain. Its easy now but I didn't grok how to properly pass arguments to overloaded C# methods (i kept messing up parenthesis, commas, and didn't pass argument names to tell f# the right function signature)

• have been coding for 8 years

• have functional lang experience with elixir and elm.

Now f# is my primary backend language.

Re:Scala isn't fun anymore by TimWillebrands on Tuesday September 13, 2022 @03:16PM (#32828979)
Any experience in akka.net vs the Microsoft actor framework? (Orleans it's called I think?)
Re:Scala isn't fun anymore by wiseowise on Tuesday September 13, 2022 @12:41PM (#32826693)
And get plagued with questions why not C#? No, thanks.