All Questions
Tagged with functional-programming c#
6 questions
54
votes
3
answers
7k
views
Why is an anemic domain model considered bad in C#/OOP, but very important in F#/FP?
In a blog post on F# for fun and profit, it says:
In a functional design, it is very important to separate behavior from
data. The data types are simple and "dumb". And then separately, you
have ...
6
votes
4
answers
1k
views
From a high level programming perspective, where does the 'different-paradigm' barrier between C# and F# really kick in?
I'm aware that they both use different programming paradigms, but from a high level perspective apart from differing syntax it seems most basic tasks can be achieved in similar fashion.
I only say ...
23
votes
4
answers
4k
views
How does persistence fit into a purely functional language?
How does the pattern of using command handlers to deal with persistence fit into a purely functional language, where we want to make IO-related code as thin as possible?
When implementing Domain-...
18
votes
1
answer
2k
views
Confusion between F# and C# [duplicate]
I am fairly new to functional programming and C#/F#.
What is unclear to me is: Can you do functional programming in C# and/or in F#?
Or is it something like, you write some OO code in C#, and some FP ...
11
votes
4
answers
2k
views
Design in "mixed" languages: object oriented design or functional programming?
In the past few years, the languages I like to use are becoming more and more "functional". I now use languages that are a sort of "hybrid": C#, F#, Scala. I like to design my application using ...
7
votes
1
answer
2k
views
How can we calculate Big-O complexity in Functional & Reactive Programming
I started learning functional programming, I am trying to compare between different algorithms that are written in an imperative, functional , parallel programming and using Collections and Lambda ...