What are and what are the main differences between Functional Programming and Reactive Programming?

Asked

Viewed 353 times

1

I wanted a clear and objective explanation?

I read separate cases, but I wanted to know the main points that differentiate the two

  • 1

    https://answall.com/tags/programa%C3%A7%C3%A3o-funcional/info e https://answall.com/questions/55332/o-que-%C3%A9-reactive-Programming-programa%C3%A7%C3%A3o-reactive, which you did not understand more exactly?

  • Did the answer resolve what was in doubt? Do you need something else to be improved? Do you think it is possible to accept it now?

1 answer

2

It’s complicated to answer that because it’s like asking what the differences between oranges and beets are. Yeah, both are eating, finished.

Functional programming is something that is based on the use of functions to express code, which limit the change of state, ie is a paradigm even. And contrary to what many people think, it’s not just using function, it has a lot of criteria. And functional much less is what uses function and procedural is what uses procedures.

To reactive programming It’s a style of code organization, it’s not a paradigm (although some classify it as if it were), so it can be used together, it’s like using orange to flavor beets. Reactive programming has even more to do with architecture, with how the data is manipulated by the application and how it reacts to it. The language or code can even help make it simpler.

In a clear and objective way it is better to learn what each one is in isolation because they only relate by chance, and do not antagonize each other. The links are above.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.