{"id":21062,"date":"2018-04-03T11:15:21","date_gmt":"2018-04-03T15:15:21","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=21062"},"modified":"2018-04-03T11:15:21","modified_gmt":"2018-04-03T15:15:21","slug":"why-inheritance-never-made-any-sense","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2018\/04\/03\/why-inheritance-never-made-any-sense\/","title":{"rendered":"Why Inheritance Never Made Any Sense"},"content":{"rendered":"<p><a href=\"https:\/\/www.sicpers.info\/2018\/03\/why-inheritance-never-made-any-sense\/\">Graham Lee<\/a>:<\/p>\n<blockquote cite=\"https:\/\/www.sicpers.info\/2018\/03\/why-inheritance-never-made-any-sense\/\">\n<p><em>Inheritance<\/em> was never a problem: trying to use <em>the same tree<\/em> for <em>three different concepts<\/em> was the problem.<\/p>\n<p>[&#8230;]<\/p>\n<p>Your domain model is not your object model. Your domain model is not your abstract data type model. Your object model is not your abstract data type model.<\/p>\n<\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Graham Lee: Inheritance was never a problem: trying to use the same tree for three different concepts was the problem. [&#8230;] Your domain model is not your object model. Your domain model is not your abstract data type model. Your object model is not your abstract data type model.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2018-04-12T01:13:12Z","apple_news_api_id":"d4aa2a32-60ab-49c4-99f1-b7ec19df401f","apple_news_api_modified_at":"2018-04-12T01:13:13Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/A1KoqMmCrScSZ8bfsGd9AHw","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[],"tags":[27,71],"class_list":["post-21062","post","type-post","status-publish","format-standard","hentry","tag-craft","tag-programming"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/21062","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=21062"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/21062\/revisions"}],"predecessor-version":[{"id":21063,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/21062\/revisions\/21063"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=21062"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=21062"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=21062"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}