Stephen Freeman Rotating Header Image

Smalltalk roots

Scarily accurate quiz.

BBSpot has a quiz to decide “Which Programming Lanuguage Are You?” Look what I got:

You are Smalltalk. You like to treat everyone the same way, but this lack of individuality makes everyone feel like objects.

The quiz


Via Dave Snowden

Smalltalk cascades

Jay Fields writes about “using chaining for object initialisation”:http://jayfields.blogspot.com/2006/02/initialization-chain.html.

One of the inspirations for the “fluent interface”:http://www.martinfowler.com/bliki/FluentInterface.html style in jMock was a Smalltalk construct called _cascade_, which sends multiple message to the same object.

aThing one: 'one';
  two: 'two';
  other.

I just got fed up having to redeclare the same object

thing.setOne("one");
thing.setTwo("two);