72. Compare OOP and funtional programming?

Compare OOP and funtional programming?

  • With the functional programming, funtion is the main unit of operation while with OOP, it’s object
  • Fucntion programming support both data and behavior abstraction while OOP only support data abstraction
  • Funcitonal Programming have the better performance than OOP on processing big data
  • Functional programming does not change the value of outside variable but with OOP, it changes the value of variable
  • With functional programming, we can pass a function as a argument into another function but with OOP, it don’t support that.

Leave a Reply

Your email address will not be published. Required fields are marked *