買這商品的人也買了...
-
$800$632 -
$560$437 -
$400$380 -
$650$514 -
$500$395 -
$680$537 -
$780$616 -
$220$209 -
$202深度學習:方法及應用
-
$680$530 -
$680$537 -
$490$417 -
$560$476 -
$720$562 -
$520$411 -
$680$537 -
$580$458 -
$500$395 -
$360$238 -
$580$458 -
$780$616 -
$403TensorFlow 實戰
-
$403Tensorflow:實戰Google深度學習框架
-
$450$356 -
$480$379
商品描述
Type inheritance is that phenomenon according to which we can say, for example, that every square is also a rectangle, and so properties that apply to rectangles in general apply to squares in particular. In other words, squares are a subtype of rectangles, and rectangles are a supertype of squares. Recognizing and acting upon such subtype / supertype relationships provides numerous benefits: Certainly it can help in data modeling, and it can also provide for code reuse in applications. For these reasons, many languages, including the standard database language SQL, have long supported such relationships. However, there doesn’t seem to be any consensus in the community at large on a formal, rigorous, and abstract model of inheritance. This book proposes such a model, one that enjoys several advantages over other approaches, not the least of which it is that it’s fully compatible with the well known relational model of data.
Topics the model covers include:
- Both single and multiple inheritance
- Scalar, tuple, and relation inheritance
- Type lattices and union and intersection types
- Polymorphism and substitutability
- Compile time and run time binding
All of these topics are described in detail in the book, with numerous illustrative examples, exercises, and answers. The book also discusses several alternative approaches. In particular, it includes a detailed discussion and analysis of inheritance as supported in the SQL standard.
商品描述(中文翻譯)
型別繼承是指這樣一種現象:例如,我們可以說每個正方形也是一個矩形,因此適用於矩形的一般性質也適用於正方形。換句話說,正方形是矩形的一個子類型,而矩形是正方形的一個超類型。識別並利用這種子類型/超類型關係帶來了許多好處:這無疑有助於數據建模,並且還可以在應用程式中提供代碼重用。基於這些原因,許多語言,包括標準數據庫語言 SQL,早已支持這種關係。然而,在整個社群中似乎對於一個正式、嚴謹且抽象的繼承模型並沒有共識。本書提出了一個這樣的模型,該模型相較於其他方法具有幾個優勢,其中之一是它與眾所周知的關聯數據模型完全兼容。
該模型涵蓋的主題包括:
- 單一繼承和多重繼承
- 標量、元組和關係繼承
- 型別格和聯集及交集型別
- 多型性和可替代性
- 編譯時和運行時綁定
所有這些主題在書中都有詳細描述,並附有大量的示例、練習和答案。書中還討論了幾種替代方法,特別是包括對 SQL 標準中支持的繼承的詳細討論和分析。