Hacker News new | ask | show | jobs
by mxz3000 1363 days ago
C# is great, if you ignore the lack of algebraic data types and the generally weak type system. Value types in C# are awesome and really make it easy to write super high performance code that doesn't allocate!

F# is awesome if you ignore the fact that it's so easy to shoot yourself in the foot from a performance standpoint with all the lazy constructs. It sure is awesome though to have such a strict type system, though I do sometimes miss features that Typescript has, such as structural typing and mapped types.

In general I do thing the dotnet ecosystem offers a really good set of compromises.

2 comments

What do you mean by lazy constructs? F# is not lazy by default but opt-in using seq.
Agreed. I really like TypeScript type system. I wish there was a language that used .NET but used TypeScript syntax/semantics. Maybe deno?