???

Are you sure you’re a computer science professor?

Crystal, Nim, Scala, and Swift aren’t strictly functional languages. They’re all multi-paradigm languages. They all provide OOP support.

And, by the way, Smalltalk is also multi-paradigm, despite being a “pure” OOP language. Its “blocks” are, in fact, lambdas. Look at the Smalltalk class library and you will find many recognisable functional constructs!

These days, there are very few languages that don’t support both OOP and FP.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store