[Book Cover]

Smalltalk with Style, 1/e

Suzanne Skublics, Object Technology International
Edward Klimas, Object Technology International
David Thomas, Object Technology International

Published June, 1995 by Prentice Hall Engineering/Science/Mathematics

Copyright 1996, 127 pp.
Paper
ISBN 0-13-165549-3
$24.00


Sign up for future
mailings
on this subject.

See other books about:
    Smalltalk





Bridging the gap between well established software engineering principles and the real-world practice of programming, this book presents guidelines for programming in the Smalltalk language that will result in source code that is clear, easy to read, and easy to understand.

Covers layout and structure; comments; code formatting; software reuse and overall program structure; reliability and portability; tips, tricks, and traps. MARKET: For product managers and programmers using all object-oriented languages.



    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.


[Help] [Home]


© Prentice-Hall, Inc. A Pearson Education Company
Comments To webmaster@prenhall.com