Re: [stack] Some thoughts on Object Cat
"William Tanksley, Jr" <[email protected]>
| Newsgroups | gmane.comp.lang.concatenative |
|---|---|
| Message-ID | <[email protected]> |
John Cowan <[email protected]> wrote: > Christopher Diggins scripsit: > > 3) Adding a new instruction form (any word ending with '?') to > > indicate a field getter > To me, a "?" suffix indicates a predicate (number? list? string?). Find some > other character. Forth uses @ as a suffix for getting. So does J (the APL derivative), IIRC. While I'm responding, I might as well ask: have you studied Io, Self, Darwin, and ECMAScript for ideas and guidance on this? Darwin (http://javalab.cs.uni-bonn.de/research/darwin/project.html) would seem especially useful for someone concerned with type safety, and its site also includes an _excellent_ warning against a common mistake that many people fall into when dealing with prototypes (people often confuse _delegation_ and _consultation_; see http://javalab.cs.uni-bonn.de/research/darwin/delegation.html. -Wm