In the context of functional analysis, a functional is a function from a vector space to its base field (usually r r or c c). If the program is executed, this function is logically evaluated as. Functional programming uses functions while logic programming uses predicates.
AP Five Themes of Geography ppt download
Functional and procedural programming are both, in that sense, structured paradigms.
In my opinion, the major difference between functional and logic programming is the building blocks:
The modern technical definition of a functional is a function from a vector space into the scalar field. A function that takes n arguments and returns a value. A functional language (ideally) allows you to write a mathematical function, i.e. Encapsulation inheritance, polymorphism what would that be in functional programming?
I've been mainly exposed to oo programming so far and am looking forward to learning a functional language.