Foundations of Object-Oriented Languages: Types and Semantics
暫譯: 物件導向語言的基礎:類型與語義

Bruce, Kim B.

  • 出版商: Summit Valley Press
  • 出版日期: 2002-03-01
  • 售價: $3,490
  • 貴賓價: 9.5$3,316
  • 語言: 英文
  • 頁數: 406
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 0262525739
  • ISBN-13: 9780262525732
  • 相關分類: Object-oriented
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

A presentation of the formal underpinnings of object-oriented programming languages.

In recent years, object-oriented programming has emerged as the dominant computer programming style, and object-oriented languages such as C++ and Java enjoy wide use in academia and industry. This text explores the formal underpinnings of object-oriented languages to help the reader understand the fundamental concepts of these languages and the design decisions behind them. The text begins by analyzing existing object-oriented languages, paying special attention to their type systems and impediments to expressiveness. It then examines two key features: subtypes and subclasses. After a brief introduction to the lambda calculus, it presents a prototypical object-oriented language, SOOL, with a simple type system similar to those of class-based object-oriented languages in common use. The text offers proof that the type system is sound by showing that the semantics preserves typing information. It concludes with a discussion of desirable features, such as parametric polymorphism and a MyType construct, that are not yet included in most statically typed object-oriented languages.

商品描述(中文翻譯)

物件導向程式語言的正式基礎介紹。

近年來,物件導向程式設計已成為主流的電腦程式設計風格,像是 C++ 和 Java 等物件導向語言在學術界和產業界廣泛使用。本書探討物件導向語言的正式基礎,幫助讀者理解這些語言的基本概念及其背後的設計決策。本書首先分析現有的物件導向語言,特別關注它們的類型系統及表達能力的障礙。接著,檢視兩個關鍵特徵:子類型和子類。簡要介紹 lambda 演算後,呈現一種原型物件導向語言 SOOL,其類型系統簡單,類似於常用的基於類別的物件導向語言。本書提供證明,顯示該類型系統是健全的,因為其語義保留了類型資訊。最後,討論一些理想的特徵,如參數多型性和 MyType 構造,這些特徵尚未包含在大多數靜態類型的物件導向語言中。

作者簡介

Kim B. Bruce is Frederick Latimer Wells Professor of Computer Science at Williams College.

作者簡介(中文翻譯)

金·B·布魯斯(Kim B. Bruce)是威廉斯學院(Williams College)計算機科學的弗雷德里克·拉提默·威爾斯教授。