News for hackers. Stuff that matters.
Re:Why F#? by shortrounddev2 on Wednesday April 02, 2025 @02:18PM (#43559651)
The distinction in this case is utterly meaningless. This is about the ergonomics of the language. Which are lacking the minute to break out of pure functional land
Re:Why F#? by neonsunset on Wednesday April 02, 2025 @04:13PM (#43560987)
Read this first: https://learn.microsoft.com/en-us/dotnet/fsharp/language-ref...

There are multiple alternate asynchronous computation expression implementations which give different ergonomics and behavior (like https://github.com/TheAngryByrd/IcedTasks). There's an entire CE extension to specifically enable this kind of convenience and flexibility too: https://github.com/fsharp/fslang-design/blob/main/FSharp-6.0...

None of this is possible in C#, at least without jumping through many hoops and ending up with extra boilerplate (and this is okay, C# has enough of its own complexity). As cjbgkagh noted, providing this type of control is the whole point and what makes F# so powerful.

Re:Why F#? by cjbgkagh on Wednesday April 02, 2025 @03:13PM (#43560391)
I disagree with both of your statements