Sunday, February 10, 2008

lisp and smalltalk

so i finally finished the SICP book. haven't done most of examples, skimmed through some contents on compilers, but still! man, what a piece of art.

just as brooks'"mythical man-year" being a great summary of engineering experience, this one is a great summary of computer science concepts.

i think any programmer should read it to become a better one. especially those without functional programming experience. just blows your mind :)

so i decided to put FP aside for a while and concentrate on imperative PLs, especially since i have a nice big several months project coming up on python/django.

so - smalltalk. designed for children. pure OO. i just started on "smalltalk by example" by alex sharp.

nice stuff. OO examples, design philosophies and best practices are pretty universal. python borrowed alot from smalltalk, really.

but there are some quirks. here you go:"Besides class variables and instance variables, Smalltalk provides a variable called a class instance variable.
It's a variable defined on the class side, and provides a way to hold a value that is potentially different for each
subclass of the original class. Instances of each subclass all have access to the variable, but instances of one
subclass will see a different value than will instances of another subclass."