An expert in Smalltalk, Lalonde provides an up-to-date introduction to this language in this comprehensive new book. Readers learn Smalltalk's syntax, library, and environment as well as fundamental programming and object-oriented development concepts. The author takes an experimental approach that encourages creative thinking and the use of different problem-solving techniques. This approach helps readers develop the skills and the confidence necessary for complex programming as they complete various programming exercises and analyze their results.
Professor LaLonde enhances learning by including numerous screen captures throughout the book to show the results of each of the programming experiments. Additionally, a series of case studies demonstrate real-world applications of Smalltalk.
Discovering Smalltalk is ideal both for those who have never programmed before and for experienced programmers who want to learn this powerful object-oriented language.
(Each chapter opens with an overview and concludes with a summary, a section on what readers did not learn, exercises, and a list of keywords. Many also include important facts and helpful hints.)
1. The World of Mice and Windows.
The Smalltalk/V Programming Environment.
Getting Some Experience with Smalltalk.
The Mechanics of The Transcript Window.
Experimentation as a Key to Learning.
The Use of Inspectors as Investigation Tools.
Using a Workspace as a Calculator.
Using the Transcript Remotely.
What's a Name, a Literal, a Variable?
Debugging and Typical Mistakes Made by Beginners.
Why Programming is not Mathematics.
Preparing for Interaction.
Case Study: Smalltalk Pens.
Experience with Methods.
Experience with Classes.
Using a Debugger for Understanding Variables in Depth.
More on Recursive Techniques.
Case Study: A Hierarchy of Food Classes.
Case Study: Bank Accounts.
Using Objects at Containers.
Case Study: A Phone Book.
Case Study: A Tic-Tac-Toe Game.
Case Study: An Airline Reservation System.
Class Object and Its Protocol.
Class Message and Its Protocol.
Class Compiler and Its Protocol.
Class Undefined Object and Its Protocol.
Class Boolean and Its Protocol.
Class Cursor Manager and Its Protocol.
The Magnitude Classes and Their Protocol.
Class Block and Its Protocol.
The Graphical Classes and Their Protocol.
The Collection Classes and Their Protocol.
Class Stream and Its Protocol.
Case Study: Adding Transaction to Bank Accounts.
The Fundamentals of Applications.
Using Window Builders.
Case Study: A Biography Manager.