Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: Global camel case support

0
0
Hi Stefan,

That's an interesting idea. Some thoughts:

  • In ClearScript it probably would be easier and more natural if the resolver worked in the other direction - that is, if it took names issued by script code and transformed them into names used on the host.
  • For applications that expose many host resources, it might be useful to allow the resolver to examine the target object and/or type.
  • This mechanism might have uses beyond name transformation, such as blocking access to arbitrary members, modifying argument lists, checking permissions, etc. It probably could be a generic binding hook.
We'd love to hear more thoughts or ideas.

Thanks!

Viewing all articles
Browse latest Browse all 2297