←back to thread

201 points olvy0 | 2 comments | | HN request time: 0s | source
Show context
DeathArrow ◴[] No.41879035[source]
The more C# borrows from F#, the happier I am. I am awaiting for discriminated unions to finally reach C# so I can do domain modelling like a boss. :)
replies(4): >>41879289 #>>41880258 #>>41885677 #>>41903512 #
1. throw234234234 ◴[] No.41885677[source]
I do find this an interesting thing often said in the .NET community. Yet the question "Why not just use F#" comes up in my head every time someone says this. C# has been playing catchup for many years.

If it is F# that is pushing a lot of innovation in the .NET ecosystem and many years in features ahead (at least it was a few years back) why not reward that effort through its use? We should encourage the behavior we want out of these language development teams after all by voting with our feet. Worked with the Java ecosystem for example - even Java now is improving. It would create a positive feedback loop (like most other innovative tech) where more market would create more engineering effort on it as well.

Reading these forum's over the years it feels like many C# people really want to stick in their camp and wait "just because" - it almost feels "tribal" and their team is "C#". I just don't see this culture in some other language ecosystems - makes me think if F# was in any other ecosystem than .NET it would of thrived a long time ago. That's just my impression though.

replies(1): >>41886450 #
2. DeathArrow ◴[] No.41886450[source]
>"Why not just use F#"

Because we don't really make choices and the C-level executives think that only C# or Java are worth using since they are the behemoths of the industry.

And I am quite content we don't have to use Java with all that object everything, factory factory factory and plainly insane "design patterns".