Classes and types, a "personal" view 
Author Message
 Classes and types, a "personal" view

As a Christmas bonus to those that have had the patience to follow the
various threads in which there has been a rather one sided debate about
the features of Smalltalk-80, here is a quote that I have been saving
for quite a while, where the authors of Smalltalk-80 clearly state, as a
matter of course, what is the relationship between some language
construct and the respective reification in Smalltalk-80, and the
corresponding language construct and the respective reification in other
popular languages.

As it will be apparent, I have enjoyed very much the privilege to use
myself almost the same words, several times over:

  "*Objects used by the interpreter*

    This section describes what might be called the data structures of
    the interpreter. Although they are objects, and therefore more than
    data structures, the interpreter treats these objects as data
    structures.

    The first two types of object correspond to data structures found in
    the interpreters for most languages.

    ``Methods'' correspond to programs, subroutines, or procedures.
    ``Contexts'' correspond to stack frames or activation records.

    The final structure described in this section, that of ``classes'',
    is not used by the interpreter for most languages, but only by the
    compiler.

    Classes correspond to aspects of the type declarations of some other
    languages.

    Because of the nature of Smalltalk messages, the classes must be
    used by the interpreter at runtime." ...

  [Goldberg&Robson, page 575]



Mon, 08 Jun 1998 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. type() new style class instance says "class", not "ObjectType"

2. No Boolean type in "types"

3. Witness Lee and the "Local Churches": A Personal Testimony

4. Needed: MicroFocus "Personal Cobol for windows"

5. "Python List for Users": a personal summary

6. An Interesting View of "Strong" Vs. "Weak" Typing

7. An Interesting View of "Strong" Vs. "Weak" Typing

8. An Interesting View of "Strong" Vs. "Weak" Typing

9. string.join(["Tk 4.2p2", "Python 1.4", "Win32", "free"], "for")

10. Serious "View Open Error" problem

11. "Listing of viewing"

12. looking for "graphic table" (Icon View)

 

 
Powered by phpBB® Forum Software