Skip to main content

All Questions

24 votes
4 answers
12k views

Should functions that take functions as parameters, also take parameters to those functions as parameters?

I often find myself writing functions that look like this because they allow me to easily mock data access, and still provide a signature that accepts parameters to determine what data to access. ...
NightWatchman's user avatar
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-...
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 ...
user3047512's user avatar