Skip to content
scrambled
Programming Language Theory Flashcard

What is the main principle of functional programming?

Books Concepts Decklanguage theory

Question

What is the main principle of functional programming?

Answer

Computations should be as pure as possible: It only returns results based on its input, do not cause side effects.

  • Easy to reason about.

  • Interested in concurrent programming.

  • A bridge between logic and programming.