Image de couverture de Programming in Dylan
Programming in Dylan
Titre:
Programming in Dylan
ISBN (Numéro international normalisé des livres):
9781447109297
Auteur personnel:
Edition:
1st ed. 1997.
PRODUCTION_INFO:
London : Springer London : Imprint: Springer, 1997.
Description physique:
XI, 254 p. online resource.
Table des matières:
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.
Extrait:
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.
Auteur collectif ajouté:
Langue:
Anglais