Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Functional programming is a paradigm which attempts to solve computational problems by the chained evaluation of functions whose output is determined by their inputs rather than the programme state. In this style of programming, side effects and mutable data are deprecated and usually strictly isolated.
2
votes
Why (or why not) are existential types considered bad practice in functional programming?
I am not too familiar with Haskell, so I will try to answer the general part of the question as a non-academic functional C# developer.
After doing some reading, it turns out that:
Java wildcards a …
1
vote
Is Functional Programming a viable alternative to dependency injection patterns?
From the OOP point of view functions can be considered to be single-method interfaces.
Interface is a stronger contract than a function.
If you are using a functional approach and do a lot of DI the …
10
votes
4
answers
3k
views
Why not apply Interface Segregation Principle to "extreme"
Providing that clients would typically consume just one method, though methods would be conceptually related, why not always apply the Interface Segregation Principle to the extreme and have [many] si …
2
votes
When to use functional programming approach and when not? (in Java)
Functional approach usually gives you a better looking, shorter code. But dealing with immutability may result in a performance penalty. I think first snippet looks like overhead because functional sy …