Re: overriding vs namespaces
- Posted by jbrown <jbrown106 at sw?ft-mai?.com> May 15, 2008
- 588 views
Kat wrote: > So i explained it above some more,, understand now? > > Kat Yes, thanks for taking the time to do that. I feel that the ability to override a builtin function (the way it was done in euphoria 2.2) is quite useful, though. I don't think this should be thrown away. In your solution, if I have understood correctly, you can't really override a builtin at all. (You must use ftp:open() instead of open(), and it might as well be ftp_open().) This is a logical extension of the way namespaces were handled in 2.3 (if theres a conflict, both identifiers must have a namespace qualifier - except we dont need one for a builtin since it is implied). It is a good idea.