Apr 9, 2021
Reading this, I have to wonder how much you have worked with Scala. Whereas you describe Scala as being like OCaml with OO stuck on top of functional, I would argue that Scala is an OO language that is functional by making all functions into objects. A function in Scala is just an object with an apply method.
There is also a reason why Kotlin and Swift look very similar, they both borrowed very heavily from Scala.