Nikita proposes methods on primitive types: http://nikic.github.io/2014/03/14/Methods-on-primitive-types...
Myself, I like this proposal.
Myself, I like this proposal.
And it doesn't make a language 'dynamic'. The language I found with UFCS is both static and compiled.
What's left is [1,2,3]->slice(1,2) versus [1,2,3].slice(1,2)
ps: dynamic can be compiled and compiled can be interpreted, so I understand that it is unrelated.
Which means you will see old function based implementations and new object based implementations.
Image dealing with both implementations within the same code base? Eek.