{"id":169,"date":"2009-02-27T23:13:17","date_gmt":"2009-02-27T21:13:17","guid":{"rendered":"http:\/\/www.tale-of-tales.com\/DramaPrincess\/wp\/?p=169"},"modified":"2009-02-27T23:13:17","modified_gmt":"2009-02-27T21:13:17","slug":"clustered-behaviours-bad-for-debugging","status":"publish","type":"post","link":"https:\/\/www.tale-of-tales.com\/DramaPrincess\/wp\/?p=169","title":{"rendered":"Clustered behaviours bad for debugging"},"content":{"rendered":"<p>Debugging &#8220;compound&#8221; behaviours like &#8220;Do Now&#8221; and &#8220;Do With Object&#8221; is turning out to be a bit of a nightmare. Fixing one thing for one specific behaviour often causes errors in another specific behaviour. Errors that sometimes take a long time to be discovered.<\/p>\n<p>Instead of making these huge behaviours with lots of switches for specific elements, it would be better to put shared elements into separate modules (like &#8220;Go To Target&#8221; already is, e.g.) and still make unique systems for each behaviour. Or perhaps a more object oriented approach would work.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Debugging &#8220;compound&#8221; behaviours like &#8220;Do Now&#8221; and &#8220;Do With Object&#8221; is turning out to be a bit of a nightmare. Fixing one thing for one specific behaviour often causes errors in another specific behaviour. Errors that sometimes take a long time to be discovered. Instead of making these huge behaviours with lots of switches for [&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-169","post","type-post","status-publish","format-standard","hentry","category-development"],"_links":{"self":[{"href":"https:\/\/www.tale-of-tales.com\/DramaPrincess\/wp\/index.php?rest_route=\/wp\/v2\/posts\/169","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tale-of-tales.com\/DramaPrincess\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tale-of-tales.com\/DramaPrincess\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tale-of-tales.com\/DramaPrincess\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tale-of-tales.com\/DramaPrincess\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=169"}],"version-history":[{"count":0,"href":"https:\/\/www.tale-of-tales.com\/DramaPrincess\/wp\/index.php?rest_route=\/wp\/v2\/posts\/169\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tale-of-tales.com\/DramaPrincess\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=169"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tale-of-tales.com\/DramaPrincess\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=169"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tale-of-tales.com\/DramaPrincess\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=169"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}