Created
May 21, 2017 16:09
-
-
Save prasadtalasila/1c0e7f2707af0f2941fa26c667a5374a to your computer and use it in GitHub Desktop.
Notes from Dan Ingalls
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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