Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is a “functional programming language”?

programming language
0
Posted

What is a “functional programming language”?

0

Opinions differ, even within the functional programming community, on the precise definition of what constitutes a functional programming language. However, here is a definition that, broadly speaking, represents the kind of languages that are discussed in comp.lang.functional: Functional programming is a style of programming that emphasizes the evaluation of expressions, rather than execution of commands. The expressions in these language are formed by using functions to combine basic values. A functional language is a language that supports and encourages programming in a functional style. For example, consider the task of calculating the sum of the integers from 1 to 10.

0

Words are designed to conjure up ideas and images. So, what does the word functional mean in the context of a programming language. Merriam-Webster’s dictionary defines functional as: 1 a: of, connected with, or being a function b: affecting physiological or psychological functions but not organic structure 2: used to contribute to the development or maintenance of a larger whole ; also : designed or developed chiefly from the point of view of use 3: performing or able to perform a regular function As an American English speaker, the third definition is the one that I’m likely to think of when I hear the word functional. If something is functional, it’s performing as it is supposed to. For other English dialects, the term functional could conjure up other meanings. But when I hear the term functional programming language, I’m likely to think of a programming language that’s able to do what it was

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.