What are the core concepts in functional programming?

后端 未结 6 835
一生所求
一生所求 2020-12-22 17:04

In object-oriented programming, we might say the core concepts are:

  1. encapsulation
  2. inheritance,
  3. polymorphism

What would that be

6条回答
  •  盖世英雄少女心
    2020-12-22 17:32

    Though the question is older, thought of sharing my view as reference.

    • Core Concept in FP is "FUNCTION"
    • FP gives KISS(Keep It Simple Sxxxxx) programming paradigm (once you get the FP ideas, you will literally start hating the OO paradigm)
    • Here is my simple FP comparison with OO Design Patterns. Its my perspective of seeing FP and pls correct me if there is any discrepancy from actual.

提交回复
热议问题