On 01.05.2006 17:51, Christopher Nelson wrote: > This is one of the most user-visible areas for AWS2, and I have already > received some suggestions on it. However, I want to have user consensus > before I commit to changing this.
The problem I see with both suggestions you made is that you provide a way to associate user-defined data with a script object created from client code; this severely limits its usefulness. Even the most simple C callback mechanisms usually provide some kind of "user data" argument that allows you to re-use the same function but with different variables/structures etc. that the callback function can use - cheap OOP. You should seriously consider providing a way to supply both a function and user-data. C++ should offer a couple of ways for that; interfaces come to my mind, maybe pointers to non-static member functions... -f.r.
signature.asc
Description: OpenPGP digital signature
