買這商品的人也買了...
-
重構─改善既有程式的設計, 2/e (Refactoring: Improving The Design of Existing Code)$800$632 -
TCP/IP 網路通訊協定, 2/e$560$437 -
Arduino UNO R3 開發板(副廠相容版)附傳輸線$400$380 -
Windows Server 2012 R2 Active Directory 建置實務$650$514 -
HTML5 & CSS3 辭典, 2/e$500$395 -
Windows Server 2012 R2 系統建置實務$680$537 -
精通 Python|運用簡單的套件進行現代運算 (Introducing Python: Modern Computing in Simple Packages)$780$616 -
ESP8266序列埠 WiFi 模組 (ESP-07)$220$209 -
$202深度學習:方法及應用 -
Essential Scrum:敏捷開發經典 (中文版) (Essential Scrum: A Practical Guide to the Most Popular Agile Process)
$680$530 -
Docker 錦囊妙計 (Docker Cookbook)$680$537 -
改變未來 20年最重要的 20個視覺機器學習理論深讀$490$417 -
不止是測試:Python 網路爬蟲王者 Selenium$560$476 -
iOS 10 App 程式設計實力超進化實戰攻略 : 知名 iOS教學部落格 AppCoda 作家親授實作關鍵技巧讓你不NG$720$562 -
前端&行動網頁設計速成班-Bootstrap 4 + CSS3 + HTML5 + JavaScript$520$411 -
超圖解 Arduino 互動設計入門, 3/e$680$578 -
Git 團隊使用手冊 (Git for Teams: A User-Centered Approach to Creating Efficient Workflows in Git)$580$458 -
Python 自動化的樂趣|搞定重複瑣碎 & 單調無聊的工作 (中文版) (Automate the Boring Stuff with Python: Practical Programming for Total Beginners)$500$425 -
深度學習快速入門 — 使用 TensorFlow (Getting started with TensorFlow)
$360$281 -
演算法技術手冊, 2/e (Algorithms in a Nutshell: A Practical Guide, 2/e)$580$458 -
JavaScript & JQuery : 網站互動設計程式進化之道 (JavaScript and JQuery: Interactive Front-End Web Development)$780$663 -
$403TensorFlow 實戰 -
$474Tensorflow:實戰Google深度學習框架 -
實戰 VMware vSphere 6.x 企業私有雲建置|異地備援x軟體定義儲存x高可用性$450$356 -
圖解雲端技術|基礎架構x運作原理 x API$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 標準中支持的繼承的詳細討論和分析。
