A functional language (ideally) allows you to write a mathematical function, i.e. Encapsulation inheritance, polymorphism what would that be in functional programming? A function that takes n arguments and returns a value.
PPT Preview PowerPoint Presentation, free download ID9390765
In my opinion, the major difference between functional and logic programming is the building blocks:
If the program is executed, this function is logically evaluated as.
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). Functional and procedural programming are both, in that sense, structured paradigms. I've been mainly exposed to oo programming so far and am looking forward to learning a functional language. Functional programming uses functions while logic programming uses predicates.
The modern technical definition of a functional is a function from a vector space into the scalar field.