Skip to content

Instantly share code, notes, and snippets.

@prasadtalasila
Created May 21, 2017 16:09
Show Gist options
  • Save prasadtalasila/1c0e7f2707af0f2941fa26c667a5374a to your computer and use it in GitHub Desktop.
Save prasadtalasila/1c0e7f2707af0f2941fa26c667a5374a to your computer and use it in GitHub Desktop.
Notes from Dan Ingalls
Smalltalk has
Class - defines behaviors of instances
Object - an instance of some class
Selector - Name of a message
Message - selector with parameters
Method - code / procedure found in class for responding to a message
It is not essential to have classes, we can do OOP with just objects
Static types are not a requirement for OOP. Smalltalk usually follows dynamic types, but one version of smalltalk did have static types. That turned out to be not so useful.
Inheritance is not a requirement for polymorphism.
Smalltalk code initially ran 50 to 100 times slower than procedural code. Now it runs 5 to 10 times slower. (circa 1991)
Smalltalk mostly gets slowed down by the persistence requirement
OO code runs much slower than machine code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment