Method Dispatch and stuff.
Kyle Lahnakoski <[email protected]> Mon, 29 Mar 2004 07:07:41 -0500
| Newsgroups | gmane.comp.lang.prothon.devel |
|---|---|
| Message-ID | <[email protected]> |
What type of (dynamic) dispatch is used by Prothon? For example, does prototype delegation stand in for inheritance when determining what method signature best matches a given call signature. Is there anything interesting to say about the conflict resolution (should more than one method be a candidate for a given call)? David MacQuigg wrote: >> Recently on the Python mailing list, I have been pushing the idea >> that we need a special symbol ( @ $ or whatever ) as a >> general-purpose "extension syntax". Please NO! :) I prefer a mandatory statement indicating the particular compiler (language version). This statement could be a simple keyword-value pair (eg VERSION 1.1), and could be put anywhere (but usually at the top of a source file). Of course the VERSION keyword would obey lexical scope rules. The advantages are clear: * Nearly complete freedom from legacy code * Shorter keywords (remove the magic symbol) Thanks. -- ---------------------------------------------------------------------- Kyle Lahnakoski [email protected] (416) 892-7784 Arcavia Software Ltd