News for hackers. Stuff that matters.

Lanayx

Re:Why F#? on Tuesday April 01, 2025 @09:40PM (#43552968)
Re:Why F#? on Tuesday April 01, 2025 @03:45PM (#43550653)
F# excels in writing domain logic where main domain entities are defined as records and discriminated unions and logic is written in pure functions. Given that product is preexisting and domain entities must already be defined, I wonder what use case do you have in mind?
Re:Why F#? on Tuesday April 01, 2025 @03:31PM (#43550529)
For web UI we have Fable and it's integration with well-known js frameworks, also WebSharper (although it's less well-known) and Bolero (on top of Blazor)

For mobile we have FuncUI (on top of Avalonia) and Fabulous (on top of Avalonia, Xamarin and Maui). Most of these frameworks use Elm architecture, but some do not. For example I use Oxpecker.Solid which has reactive architecture.

Can't help with Scala comparison, but at least DeepSeek V3 prefers F# for UI https://whatisbetter.ai/result/F%23-vs-Scala-9eaede00c7e4485...

Re:Why F#? on Tuesday April 01, 2025 @02:01PM (#43549735)
For reference, F# slack is already dead, community has moved to Discord https://discord.com/invite/fsharp-196693847965696000
Re:What Is Better? on Friday March 07, 2025 @10:25AM (#43290896)
I've just launched a product for easy AI based comparison and sharing, the feedback is appreciated.

Announcements Twitter: https://x.com/WhatIsBetterAI/status/1898026811000226244 Bluesky: https://bsky.app/profile/whatisbetter.ai/post/3ljscbmehsk2x

Re:Official proposal for Type Unions in C# on Thursday August 08, 2024 @06:45AM (#41190009)
This is only partially true. Both Some and None were always instances of single FSharpOption class (None is actually not an instance, but null), however custom DUs are indeed compiled into classes with inheritance