0

What is the difference between functional vs object oriented vs procedural language with example ?

Try to explain with a real-life example.

9th Oct 2018, 8:30 PM
Sin Cos Ø
Sin Cos Ø - avatar
1 ответ
+ 1
These are 3 different programming paradigms. The Functional Programming (FP) paradigm focuses on higher order functions, it does not take advantage of memorization and it does not work with mutable data; only immutable data is allowed in pure functional programming. Object Oriented Programming treats functions as first class citizens, these objects resemble real world objects and their methods can use mutable and/or immutable data. Procedural Programming focuses on the routines and subroutines of a program. Procedural programming has a top down / in line approach. Checkout the link for more info: http://funkyjavascript.com/procedural-vs-object-oriented-vs-functional-programming/
11th Oct 2018, 1:03 AM
Steven M
Steven M - avatar