Steven Schveighoffer, el 17 de abril a las 11:27 me escribiste: > >The problem is you're dealing with the class which is overloaded its opDot. > >You know the risk before hand, you are not going to overload for every > >classes. > >Here, you seem to little bit overrate this feature. :) > >If you want things checked, then you probabely need to go back to static. > >This dynamic stuff is used for dynamic things only, and as long as you have > >to do > >it in the dynamic way that means you have no easy way or even impossible to > >check it at compiletime and you accept the potential risk like the example > >you > >posted. > > Sure, but what is the reason to need dynamic methods? I'm just trying to > understand the usefulness of it.
RPC is an example that comes into mind There is plenty of magic you can do with dynamic methods. Just try a dynamic language and see =) -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ ---------------------------------------------------------------------------- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) ---------------------------------------------------------------------------- Corrí muchas carreras, tratando de alcanzarte a vos. Pero corría sólo y siempre salí último.