{"id":2648,"date":"2022-10-04T17:19:59","date_gmt":"2022-10-04T16:19:59","guid":{"rendered":"https:\/\/andyjohnson.uk\/blog\/?p=2648"},"modified":"2022-10-05T12:00:35","modified_gmt":"2022-10-05T11:00:35","slug":"slotd-premature-abstraction","status":"publish","type":"post","link":"https:\/\/andyjohnson.uk\/blog\/2022\/10\/04\/slotd-premature-abstraction\/","title":{"rendered":"SLotD: Premature Abstraction"},"content":{"rendered":"\n<p><em>Software Lesson of the Day for 2022-10-04<\/em>: Note to self. If you&#8217;re struggling to create a generic, reusable, well factored, abstraction to implement a simple, application-specific piece of functionality &#8211; then it may just be that instead you can get away with a couple of simple data fields and a static function or two. Remember this for the next time.<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>(Lets see if I can remember to do this more often&#8230;)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Software Lesson of the Day for 2022-10-04: Note to self. If you&#8217;re struggling to create a generic, reusable, well factored, abstraction to implement a simple, application-specific piece of functionality &#8211; then it may just be that instead you can get away with a couple of simple data fields and a static function or two. Remember &hellip; <a href=\"https:\/\/andyjohnson.uk\/blog\/2022\/10\/04\/slotd-premature-abstraction\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;SLotD: Premature Abstraction&#8221;<\/span><\/a><\/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":[43,42],"class_list":["post-2648","post","type-post","status-publish","format-standard","hentry","category-uncategorised","tag-development","tag-software"],"_links":{"self":[{"href":"https:\/\/andyjohnson.uk\/blog\/wp-json\/wp\/v2\/posts\/2648","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/andyjohnson.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/andyjohnson.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/andyjohnson.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/andyjohnson.uk\/blog\/wp-json\/wp\/v2\/comments?post=2648"}],"version-history":[{"count":2,"href":"https:\/\/andyjohnson.uk\/blog\/wp-json\/wp\/v2\/posts\/2648\/revisions"}],"predecessor-version":[{"id":2651,"href":"https:\/\/andyjohnson.uk\/blog\/wp-json\/wp\/v2\/posts\/2648\/revisions\/2651"}],"wp:attachment":[{"href":"https:\/\/andyjohnson.uk\/blog\/wp-json\/wp\/v2\/media?parent=2648"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/andyjohnson.uk\/blog\/wp-json\/wp\/v2\/categories?post=2648"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/andyjohnson.uk\/blog\/wp-json\/wp\/v2\/tags?post=2648"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}