Why hasn’t functional programming taken over yet?

Locked. This question and its answers are locked because the question is off-topic but has historical significance. It is not currently accepting new answers or interactions. I’ve read some texts about declarative/functional programming (languages), tried out Haskell as well as written one myself. From what I’ve seen, functional programming has several advantages over the classical … Read more

Is there a software-engineering methodology for functional programming? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 years ago. Improve this question Software Engineering as it is taught today is entirely focused on object-oriented programming and the … Read more

In Functional Programming, what is a functor?

I’ve come across the term ‘Functor’ a few times while reading various articles on functional programming, but the authors typically assume the reader already understands the term. Looking around on the web has provided either excessively technical descriptions (see the Wikipedia article) or incredibly vague descriptions (see the section on Functors at this ocaml-tutorial website). … Read more

What is the difference between procedural programming and functional programming? [closed]

Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 3 years ago. Improve this question I’ve read the Wikipedia articles for both procedural programming and functional programming, but I’m still slightly … Read more

How can you do anything useful without mutable state?

I’ve been reading a lot of stuff about functional programming lately, and I can understand most of it, but the one thing I just can’t wrap my head around is stateless coding. It seems to me that simplifying programming by removing mutable state is like “simplifying” a car by removing the dashboard: the finished product … Read more

What is a Y-combinator? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 3 years ago. Improve this question A Y-combinator is a computer science concept from the “functional” side of things. Most programmers … Read more

What is a ‘Closure’?

I asked a question about Currying and closures were mentioned. What is a closure? How does it relate to currying? 24 s 24 Variable scope When you declare a local variable, that variable has a scope. Generally, local variables exist only within the block or function in which you declare them. function() { var a … Read more

How can a time function exist in functional programming?

I’ve to admit that I don’t know much about functional programming. I read about it from here and there, and so came to know that in functional programming, a function returns the same output, for same input, no matter how many times the function is called. It’s exactly like a mathematical function which evaluates to … Read more

What is (functional) reactive programming?

Locked. This question and its answers are locked because the question is off-topic but has historical significance. It is not currently accepting new answers or interactions. I’ve read the Wikipedia article on reactive programming. I’ve also read the small article on functional reactive programming. The descriptions are quite abstract. What does functional reactive programming (FRP) … Read more