Quote:Original post by ApochPiQ
This has some interesting properties: optional parameters and variadic-style functions become trivially easy to implement. Further, this provides some very cool tools for metaprogramming. This also basically gives us closures as well as a solid foundation for continuations (combined with some code-location metainformation).
Thoughts?
Yes that does have some great potential, but how would you enforce required parameters? Are you doing away with the concept all together? If you are then you'd have to push parameter validation into the function code which could potentially add a lot of overhead to make sure that you actually get the variables you need. Also, couldn't you duplicate the functionality by simply passing an associative array to the function?