Smalltalk Best Practice Patterns

 
 
PEARSON (Verlag)
  • 1. Auflage
  • |
  • erschienen am 3. Oktober 1996
  • |
  • 240 Seiten
 
E-Book | PDF mit Wasserzeichen-DRM | Systemvoraussetzungen
978-0-13-285210-4 (ISBN)
 
This classic book is the definitive real-world style guide for better Smalltalk programming. This author presents a set of patterns that organize all the informal experience successful Smalltalk programmers have learned the hard way. When programmers understand these patterns, they can write much more effective code. The concept of Smalltalk patterns is introduced, and the book explains why they work. Next, the book introduces proven patterns for working with methods, messages, state, collections, classes and formatting. Finally, the book walks through a development example utilizing patterns. For programmers, project managers, teachers and students -- both new and experienced. This book presents a set of patterns that organize all the informal experience of successful Smalltalk programmers. This book will help you understand these patterns, and empower you to write more effective code.
1. Auflage
  • Englisch
Pearson ITP
978-0-13-285210-4 (9780132852104)
weitere Ausgaben werden ermittelt
Kent Beck is the founder and director of Three Rivers Institute (TRI). His career has combined the practice of software development with reflection, innovation, and communication. His contributions to software development include patterns for software, the rediscovery of test-first programming, the xUnit family of developer testing tools, and Extreme Programming. He currently divides his time between writing, programming, and coaching. Beck is the author/co-author of Implementation Patterns, Extreme Programming Explained: Embrace Change 2nd Edition, Contributing to Eclipse, Test-Driven Development: By Example, Planning Extreme Programming, Smalltalk Best Practice Patterns, and the JUnit Pocket Guide. He received his B.S. and M.S. in Computer Science from the University of Oregon.
1. Introduction.

Coding. Talking Programs. Good Software. Style. What's Missing? Book Organization. Adoption. Learning a Pattern.

2. Patterns.

Why Patterns Work. Role of Patterns. Reading. Development. Review. Documentation. Clean Up. Format.

3. Behavior.

Methods. Composed Method. Constructor Method. Constructor Parameter Method. Shortcut Constructor Method. Conversion. Converter Method. Converter Constructor Method. Query Method. Comparing Method. Reversing Method. Method Object. Execute Around Method. Debug Printing Method. Method Comment. Messages. Message. Choosing Message. Decomposing Message. Intention Revealing Message. Intention Revealing Selector. Dispatched Interpretation. Double Dispatch. Mediating Protocol. Super. Extending Super. Modifying Super. Delegation. Simple Delegation. Self Delegation. Pluggable Behavior. Pluggable Selector. Pluggable Block. Collecting Parameter.

4. State.

Instance Variables. Common State. Variable State. Explicit Initialization. Lazy Initialization. Default Value Method. Constant Method. Direct Variable Access. Indirect Variable Access. Getting Method. Setting Method. Collection Accessor Method. Enumeration Method. Boolean Property Setting Method. Role Suggesting Instance Variable Name. Temporary Variables. Temporary Variable. Collecting Temporary Variable. Caching Temporary Variable. Explaining Temporary Variable. Reusing Temporary Variable. Role Suggesting Temporary Variable Name.

5. Collections.

Classes. Collection. OrderedCollection. RunArray. Set. Equality Method. Hashing Method. Dictionary. SortedCollection. Array. ByteArray. Interval. Collection Protocol. IsEmpty. Includes:. Concatentation. Enumeration. Do. Collect. Select/Reject. Detect. Inject:into:. Collection Idioms. Duplicate Removing Set. Temporarily Sorted Collection. Stack. Queue. Searching Literal. Lookup Cache. Parsing Stream. Concatenating Stream.

6. Classes.

Simple Superclass Name. Qualified Subclass Name.

7. Formatting.

Inline Message Pattern. Type Suggesting Parameter Name. Indented Control Flow. Rectangular Block. Guard Clause. Conditional Expression. Simple Enumeration Parameter. Cascade. Yourself. Interesting Return Value.

8. Development Example.

Problem. Start. Arithmetic. Integration.

Summary. Appendix A: Quick Reference. Index.

Dateiformat: PDF
Kopierschutz: Wasserzeichen-DRM (Digital Rights Management)

Systemvoraussetzungen:

Computer (Windows; MacOS X; Linux): Verwenden Sie zum Lesen die kostenlose Software Adobe Reader, Adobe Digital Editions oder einen anderen PDF-Viewer Ihrer Wahl (siehe E-Book Hilfe).

Tablet/Smartphone (Android; iOS): Installieren Sie die kostenlose App Adobe Digital Editions oder eine andere Lese-App für E-Books, z.B. PocketBook (siehe E-Book Hilfe).

E-Book-Reader: Bookeen, Kobo, Pocketbook, Sony, Tolino u.v.a.m. (nur bedingt: Kindle)

Das Dateiformat PDF zeigt auf jeder Hardware eine Buchseite stets identisch an. Daher ist eine PDF auch für ein komplexes Layout geeignet, wie es bei Lehr- und Fachbüchern verwendet wird (Bilder, Tabellen, Spalten, Fußnoten). Bei kleinen Displays von E-Readern oder Smartphones sind PDF leider eher nervig, weil zu viel Scrollen notwendig ist. Mit Wasserzeichen-DRM wird hier ein "weicher" Kopierschutz verwendet. Daher ist technisch zwar alles möglich - sogar eine unzulässige Weitergabe. Aber an sichtbaren und unsichtbaren Stellen wird der Käufer des E-Books als Wasserzeichen hinterlegt, sodass im Falle eines Missbrauchs die Spur zurückverfolgt werden kann.

Weitere Informationen finden Sie in unserer E-Book Hilfe.


Als Download verfügbar

54,99 €
inkl. 7% MwSt.
E-Book Einzellizenz
PDF mit Wasserzeichen-DRM
siehe Systemvoraussetzungen
E-Book bestellen