On to Smalltalk / Edition 1

On to Smalltalk / Edition 1

5.0 1
by Patrick Henry Winston
     
 

ISBN-10: 0201498278

ISBN-13: 9780201498271

Pub. Date: 09/03/1997

Publisher: Addison-Wesley

Learn the language with power tools for program writing and interface building This book is written in the clear and concise style that has made Winston's Java, C, C++, and Lisp books popular among programmers who want to add new languages to their repertoire. Using this book, you learn Smalltalk quickly and effectively, and you learn why Smalltalk is the language

…  See more details below

Overview

Learn the language with power tools for program writing and interface building This book is written in the clear and concise style that has made Winston's Java, C, C++, and Lisp books popular among programmers who want to add new languages to their repertoire. Using this book, you learn Smalltalk quickly and effectively, and you learn why Smalltalk is the language of choice when you need power tools for writing object-oriented programs and building graphical user interfaces.

The Knowledge You Need

Each section adds new capabilities to a short, yet representative Smalltalk program. One such program displays the calorie content of a food selected by a button click.

As you see the program evolve, you learn how to experiment using the workspace and the transcript, benefit from procedure abstraction, define classes that inherit instance variables and methods, benefit from data abstraction, design classes and class hierarchies, store values in class variables, store values in dictionaries, work with arrays and collections, use time-sorted collections in simulations, work with dates and times, program defensively, exchange software, create points and rectangles, draw lines and display text in windows, connect display elements, display list boxes, menus, and file dialog windows, develop a graphical user interface using a GUI builder, work with an industrial-strength smalltalk, work with the model-viewer-controler paradigm, and much, much more.

Winston's proven approach

  • Based on extensive teaching experience
  • Features easily digested segments
  • Illustrates ideas via short, yet complete, programs
  • Answers your natural questions in a natural order
  • Stresses principles of good programming practice
  • Recapitulates key points as if--then rules

0201498278B04062001

Read More

Product Details

ISBN-13:
9780201498271
Publisher:
Addison-Wesley
Publication date:
09/03/1997
Edition description:
New Edition
Pages:
320
Product dimensions:
7.50(w) x 9.25(h) x 0.50(d)

Table of Contents

Acknowledgments
1How This Book Teaches You the Language1
2How to Experiment Using the Workspace7
3How to Write Arithmetic Expressions15
4How to Define Simple Methods19
5How to Define Methods with Parameters29
6How to Perform Tests Using Predicates33
7How to Write Conditional Expressions35
8How to Combine Boolean Expressions41
9How to Introduce Local Variables45
10How to Benefit from Procedure Abstraction49
11How to Create Classes and Instances53
12How to Define Classes that Inherit Instance Variables and Methods61
13How to Define Instance-Creation Methods67
14How to Benefit from Data Abstraction73
15How to Design Classes and Class Hierarchies77
16How to Write Iteration Statements81
17How to Write Recursive Methods85
18How to Store Values in Class Variables93
19How to Store Values in Dictionaries97
20How to Work with Arrays101
21How to Work with Ordered Collections and Sorted Collections109
22How to Create File Streams for Input and Output119
23How to Work with Characters and Strings127
24How to Produce Formatted Text133
25How to Use Sorted Collections in Simulations139
26How to Work with Dates and Times147
27How to Define Binary Methods153
28How to Use Debugging Tools157
29How to Program Defensively165
30How to Exchange Software171
31How to Create Points and Rectangles177
32How to Draw Lines and Display Text in Windows183
33How to Use the Graphics Context to Alter Appearance197
34How to Use List Boxes to Select Instances203
35How to Connect Together Display Elements207
36How to Display Menus and File Dialog Windows213
37How to Develop a GUI Using a GUI Builder221
38How to Work with a Commercial Smalltalk231
39How to Work with the Model-Viewer-Controller Paradigm235
40How to Use VisualWork's Value Holders and Aspect Adapters243
41How to Use VisualWorks to Build Applications249
42How to Use VisualWorks to Build Viewers and Controllers255
Appendix AThe Calorie Application261
Appendix BPackaging Applications for Users267
Appendix CThe VisualWorks GUI Builder269
Appendix DThe VisualWorks Drawing Methods275
Colophon279
Index281
Software289
Books291

Read More

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >

5 out of 5 based on 0 ratings. 1 reviews.
Anonymous More than 1 year ago