I remember it initially being described as a hybrid language, but obviously the functional features and idioms stick out more to the Java community, so it's going to be described as functional.
I do wonder why Scala requires 'def' to be within a class/body (it could just create an implicit object inheriting from FunctionX)
Also, destructuring pattern matching does require language support (the linked example only involves simple predicates)
I do wonder why Scala requires 'def' to be within a class/body (it could just create an implicit object inheriting from FunctionX)
Also, destructuring pattern matching does require language support (the linked example only involves simple predicates)