2013-10-01: Pharo by Example 2, AKA Deep into Pharo, is now available.

2013-05-12: A Spanish translation is available.

2013-04-23: A Japanese translation is now available.

2012-03-28: Pharo by Example 2 has its own web site

2011-07-27: The French translation of Pharo by Example is online!

2011-04-06: The draft chapter on Metacello for Pharo by Example 2 is available for review!


Help is welcome for the following translation projects:


Download Pharo


External resources

Endorsed by

About this book

Pharo is a modern open-source development environment for the classic Smalltalk-80 programming language. Despite being the first purely object-oriented language and environment, Smalltalk is in many ways still far ahead of its successors in promoting a vision of an environment where everything is an object, and anything can change at run-time.

Pharo by Example, intended for both students and developers, will guide you gently through the Pharo language and environment by means of a series of examples and exercises.


The book helps you get started with A Quick Tour of Pharo and guides you through A First Application. The Smalltalk language is introduced in the chapters Syntax in a Nutshell and Understanding Message Syntax.

Development with Pharo is introduced in The Smalltalk Object Model, The Pharo Programming Environment and SUnit. Several of the key classes are presented in chapters on Basic Classes, Collections, Streams and Morphic. A chapter dedicated to Seaside by Example introduces web application development with the popular Seaside framework.

The first edition of the book concludes with chapters on Classes and Metaclasses, Reflection and Frequently Asked Questions.

An open book

This book is open in the following senses:

We would like to see this book grow! We encourage you to contribute chapters on the parts of Pharo that we have not described. If you would like to participate, please contact us.

This web site is graciously hosted by the Institute of Computer Science and Applied Mathematics of the University of Bern, Switzerland.
Published by Square Bracket Associates, Kehrsatz, Switzerland.
Last modified: 2013-10-24 by omn