Smalltalk with style
Author(s)
Bibliographic Information
Smalltalk with style
Prentice Hall, c1996
Available at 8 libraries
  Aomori
  Iwate
  Miyagi
  Akita
  Yamagata
  Fukushima
  Ibaraki
  Tochigi
  Gunma
  Saitama
  Chiba
  Tokyo
  Kanagawa
  Niigata
  Toyama
  Ishikawa
  Fukui
  Yamanashi
  Nagano
  Gifu
  Shizuoka
  Aichi
  Mie
  Shiga
  Kyoto
  Osaka
  Hyogo
  Nara
  Wakayama
  Tottori
  Shimane
  Okayama
  Hiroshima
  Yamaguchi
  Tokushima
  Kagawa
  Ehime
  Kochi
  Fukuoka
  Saga
  Nagasaki
  Kumamoto
  Oita
  Miyazaki
  Kagoshima
  Okinawa
  Korea
  China
  Thailand
  United Kingdom
  Germany
  Switzerland
  France
  Belgium
  Netherlands
  Sweden
  Norway
  United States of America
Note
"An Alan R. Apt book."
Includes bibliographical references (p. 119-121) and index
Description and Table of Contents
Description
For object-oriented programming courses in Smalltalk or as a supplement to concepts of programming language or software engineering courses using Smalltalk.
Designed to bridge the gap between well-established software engineering principles and the actual practice of programing in an OOP language such as Smalltalk, this text documents a minimal set of guidelines and potential standards in design techniques that promote easy reuse and maintenance of object-oriented code, reduce the number of defects, and make code easier to read.
Table of Contents
1. What's In a Name.
Introduction. General Naming Guidelines. Upper and Lower Case Letters. Class Names. Variable Names: Semantic or Typed? Method Names. Accessor Method Names. Method Parameter Names. Method Temporary Variable Names. Numbers. Abbreviations.
2. Comments.
Introduction. Code Comments. Component Comments. Applications. Classes. Methods. Comments within Source Code.
3. Code Formatting.
Introduction. Method Template. Horizontal Spacing. Indentation and Alignment. Cascaded Message Protocols. Number of Statements per Line. Blank Lines. Source Code Line Length. Parentheses.
4. Can Your Software Be Reused?
Introduction. Common Protocols. Accessor Methods-Variable-Free Programming. Class Evolution and Refactoring. Class Names and Pool Dictionaries.
5. Tips, Tricks, and Traps.
Introduction. Common Syntactic Mistakes. Assumption of Return Values. "Cut and Paste" Reuse. Common Yet Confusing Error Messages. Equality, Identity, and Equivalence. Collections. Creating Example Code. Testing. Potential Sources of Abuse and Misuse.
6. Summary of Guidelines.
Glossary.
References.
Index.
by "Nielsen BookData"