Object-Oriented Programming with Smalltalk

Object oriented programming is a way of thinking about problems.Smalltalk is one of the purest incarnations of an object-oriented programming language.Using a pedagogical approach, this book covers all aspects of object oriented programming: first through the study of various preexisting Smalltalk c...

Full description

Saved in:
Bibliographic Details
Main Author Wertz, Harald
Format eBook
LanguageEnglish
Published Chantilly ISTE Press Limited - Elsevier Incorporated 2015
Elsevier Science and Technology Books, Inc
Edition1
Subjects
Online AccessGet full text
ISBN9781785480164
1785480162
9780081008089
0081008082
DOI10.1016/C2015-0-01241-2

Cover

Table of Contents:
  • Front Cover -- Object-Oriented Programming with SMALLTALK -- Copyright -- Contents -- Preface -- Introduction -- I.1. Everything is an Object -- I.2. Object-Oriented Languages -- Part 1: The Basics of SMALLTALK Programming -- Chapter 1: A Brief Tour of SQUEAK -- 1.1. The First Contact -- 1.2. Important Points -- 1.3. Exercises -- Chapter 2: The First Program -- 2.1. Defining New Classes -- 2.2. Defining New Methods -- 2.3. Program Test -- 2.4. Adding Methods to Subclasses of the Animal Class -- 2.5. Modification of Parrot Behavior -- 2.6. Exercises -- 2.7. Self and Super -- 2.8. Exercises -- Chapter 3: Architecture and Inheritance -- 3.1. SMALLTALK Software Architecture -- 3.2. Static and Dynamic Inheritance -- Chapter 4: Some Elements of SQUEAK Syntax and Grammar -- 4.1. Pseudo-Variables -- 4.2. Comments and Identifiers -- 4.3. Literals -- 4.4. Variables -- 4.5. Messages -- 4.6. Control Structure -- 4.7. Exception Handling -- 4.8. Exercises -- Part 2: Programming in SQUEAK -- Chapter 5: Drawings Like in Logo -- 5.1. The Pen Class -- 5.2. Some Fractals: Recursive Drawings -- 5.3. Exercises -- 5.4. A Restructuring of Our Logo Programs -- 5.5. A User Interface for Logo Drawings -- 5.6. Lindenmayer Systems -- Chater 6: The Dependency Mechanism -- 6.1. Basics of the Dependency Mechanism -- 6.2. Programming a Calculator -- 6.3. Exercises -- 6.4. A KCalc Calculator -- 6.5. Exercises -- 6.6. Concluding Remarks -- Part 3: Appendices -- Appendix 1: Solutions to Exercises -- A1.1. Exercises from Section 1.3 -- A1.2. Exercises from Section 2.6 -- A1.3. Exercises for Section 2.8 -- A1.4. Exercises from Section 4.3.6 -- A1.5. Exercises for Section 4.4.9 -- A1.6. Exercises from Section 4.8 -- A1.7. Exercises for Section 5.3 -- A1.8. Exercises for Section 5.6.6 -- A1.9. Exercises for Section 6.3 -- A1.10. Exercises for Section 6.5
  • Appendix 2: List of Keyboard Shortcuts -- A2.1. Editing Shortcuts -- A2.2. Search Shortcuts -- A2.3. Cancel/Accept Shortcuts -- A2.4. Browser, Inspector and Explorer Shortcuts -- A2.5. Shortcuts for Parentheses, Square Brackets, Curly Brackets -- A2.6. Conversion Shortcuts -- A2.7. Code Completion Shortcuts -- A2.8. Formatting Shortcuts -- Appendix 3: SMALLTALK Syntax Specification -- A3.1. Base Characters -- A3.2. Constants -- A3.3. Expressions -- Appendix 4: List of SQUEAK Primitives -- A4.1. Arithmetic and Logic Primitives -- A4.2. Access Primitives -- A4.3. Object Creation Primitives -- A4.4. Execution Primitives -- A4.5. Process Management Primitives -- A4.6. Input/Output Primitives -- A4.7. Search and Replace Primitives -- A4.8. And the Others -- Bibliography -- Index -- Back Cover