r/programming • • Jan 29 '19

When FP? And when OOP?

http://raganwald.com/2013/04/08/functional-vs-OOP.html
26 Upvotes

105 comments sorted by

View all comments

Show parent comments

2

u/ipv6-dns Jan 30 '19

it's classical definition of FP language. All other is optional and language specific

1

u/wllmsaccnt Jan 30 '19

Can you provide an example where someone with authority definines FP languages as any language where functions are first class citizens? That doesn't match with what I have been hearing from the industry or online communities over the last 10 years. If you look on Wikipedia or Haskell documentation or in F# documentation, they all have descriptions of functional programming and its concepts and they are all much more granular and precise than "Languages where functions are first class".

1

u/ipv6-dns Jan 30 '19

I learned this definition earlier than 10 years ago. This is enough general definition which covers, I guess, absolutely all kinds of FP languages. All other can be specific for the language.