JS hasn't "become" functional, at all -- it was functional from it's inception. Even it's prototypical OO is functional. The function truly is, and has always been, the core abstraction of JS.
What I wish is that JS engines would recognize this and deeply optimize function closures to remove any penalty for using them as object instances.
JS hasn't "become" functional, at all -- it was functional from it's inception. Even it's prototypical OO is functional. The function truly is, and has always been, the core abstraction of JS.
What I wish is that JS engines would recognize this and deeply optimize function closures to remove any penalty for using them as object instances.
Point taken.. but still a messy language when compared to Smalltalk.