{"id":275,"date":"2002-12-10T09:38:00","date_gmt":"2002-12-10T13:38:00","guid":{"rendered":"https:\/\/blog.tomleslie.ca\/?p=275"},"modified":"2002-12-10T09:38:00","modified_gmt":"2002-12-10T13:38:00","slug":"275","status":"publish","type":"post","link":"https:\/\/blog.tomleslie.ca\/?p=275","title":{"rendered":""},"content":{"rendered":"<p>And more on yesterday&#8217;s theme, an entry from <a href=\"http:\/\/www.inpassing.org\/\">inpassing.org<\/a>:<\/p>\n<p><i>&#8220;The thing with casting and superclasses is like this: all mothers are women, but not all women are mothers. If I have something of a woman type&#8230; A woman object, if you will, I can&#8217;t just cast her to a mother type. Well, not without&#8230; hrm.&#8221;<br \/>\n<br \/>&#8211;A GSI at a review session in Soda Hall <\/i><\/p>\n","protected":false},"excerpt":{"rendered":"<p>And more on yesterday&#8217;s theme, an entry from inpassing.org: &#8220;The thing with casting and superclasses is like this: all mothers are women, but not all women are mothers. If I have something of a woman type&#8230; A woman object, if you will, I can&#8217;t just cast her to a mother type. Well, not without&#8230; hrm.&#8221; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-275","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.tomleslie.ca\/index.php?rest_route=\/wp\/v2\/posts\/275","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.tomleslie.ca\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.tomleslie.ca\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.tomleslie.ca\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.tomleslie.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=275"}],"version-history":[{"count":0,"href":"https:\/\/blog.tomleslie.ca\/index.php?rest_route=\/wp\/v2\/posts\/275\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.tomleslie.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=275"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.tomleslie.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=275"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.tomleslie.ca\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=275"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}