Is it possible to give an explanation of functional programming without using factorial or fibonacci as an example?

Follow

@valleyforge do you mean recursion based on the two examples you provided (factorial and Fibonacci)? Functional programming is not just limited to recursive functions and is a declarative programming paradigm:
en.m.wikipedia.org/wiki/Functi

@sojournTime recursion is a great example of functional programming and those are great examples of recursion so they tend to get used in intros to functional programming

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.