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

@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

Follow

@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
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.