Re: overriding vs namespaces

new topic     » goto parent     » topic index » view thread      » older message » newer message

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.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu