Nicht aus der Schweiz? Besuchen Sie lehmanns.de

Programming in Dylan

(Autor)

Buch | Softcover
XI, 254 Seiten
1996 | 1. Softcover reprint of the original 1st ed. 1997
Springer Berlin (Verlag)
978-3-540-76053-5 (ISBN)

Lese- und Medienproben

Programming in Dylan - Iain D. Craig
CHF 74,85 inkl. MwSt
Programming in Dylan is aimed at programmers who are already familiar with languages such as Pascal or C but who, as yet, have no knowledge of object-oriented languages. The author takes the reader through the development of Dylan by Apple and introduces the concept of object oriented languages, comparing Dylan to other languages such as CLOS, Smalltalk and C++. The author looks at fundamental concepts of the Dylan language before moving on to present the basic types (Boolean, vectors, strings etc.). Variables, expressions and assignment, and functions (both named and anonymous) are covered in detail. The Dylan class is introduced in its simple form and generic functions and library classes are discussed in depth. The author shows how modularisation needs to be used if large applications are to be developed and illustrates how to construct program libraries. A simulation and modelling example runs through the book.

1 Introduction.- 1.1 Introduction.- 1.2 The Aim of this Book.- 1.3 The Organisation of this Book.- 2 Object-Oriented Programming.- 2.1 Introduction.- 2.2 Encapsulation and Abstraction.- 2.3 Classes and Inheritance.- 2.4 Abstract and Concrete Classes.- 2.5 Methods and Overloading.- 2.6 Static and Dynamic Binding.- 2.7 Building Object-Oriented Programs.- 3 An Example Dylan Program.- 3.1 Introduction.- 3.2 Specification.- 3.3 Amounts and Time.- 3.4 Quantities.- 3.5 Foodstuffs.- 3.6 The Database Structure.- 3.7 The Shopping Database.- 3.8 The Shopping List.- 3.9 Main.- 4 Basic Types.- 4.1 Introduction.- 4.2 Booleans.- 4.3 Characters.- 4.4 Strings.- 4.5 Symbols.- 4.6 Numbers.- 4.7 Vectors.- 4.8 Lists.- 4.9 Comparison Operations.- 5 Expressions and Assignment.- 5.1 Introduction.- 5.2 Types and Variables.- 5.3 Assignment Expressions.- 5.4 Conditional Expressions.- 5.5 Iteration.- 5.6 Local Bindings.- 5.7 Multiple Values.- 5.8 Blocks and Exits.- 6 Methods and Generic Functions.- 6.1 Introduction.- 6.2 The Reason for Using Methods.- 6.3 Named Methods.- 6.4 Bare Methods.- 6.5 Local Methods.- 6.6 Higher-Order Methods.- 6.7 Generic Functions.- 6.8 Operations on Functions.- 7 Classes, Instances and Inheritance.- 7.1 Introduction.- 7.2 A Simple Example.- 7.3 Class Definitions.- 7.4 Instance Creation.- 7.5 Inheritance.- 7.6 Classes and Types.- 7.7 Introspecting on Classes and Functions.- 7.8 Control of Dynamism.- 8 Conditions and Errors.- 8.1 Introduction.- 8.2 The Dylan Exception Facility.- 8.3 Specification.- 9 Modules and Libraries.- 9.1 Introduction.- 9.2 Modules.- 9.3 Libraries.- A Example Program Listing.- A.l Introduction.- A.2 Money.- A.3 Time.- A.4 Physical Quantities.- A.5 Foodstuffs.- A.6 Food-table and The Database.- A.7 Shopping.- A.8 Shopping Lists.- A.9 The Main Method.

Erscheint lt. Verlag 26.11.1996
Zusatzinfo XI, 254 p.
Verlagsort London
Sprache englisch
Maße 155 x 235 mm
Gewicht 412 g
Themenwelt Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
Informatik Theorie / Studium Compilerbau
Schlagworte Class • C programming language • C++ programming language • Dylan • Dylan (Programmiersprache) • object • object-oriented programming • Objektorientierte Programmierung • Overloading • PASCAL • simula • Smalltalk
ISBN-10 3-540-76053-9 / 3540760539
ISBN-13 978-3-540-76053-5 / 9783540760535
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
Grundlagen und Anwendungen

von Hanspeter Mössenböck

Buch | Softcover (2024)
dpunkt (Verlag)
CHF 41,85
a beginner's guide to learning llvm compiler tools and core …

von Kai Nacke

Buch | Softcover (2024)
Packt Publishing Limited (Verlag)
CHF 69,80