{"id":98,"date":"2004-09-14T22:22:24","date_gmt":"2004-09-14T21:22:24","guid":{"rendered":"http:\/\/www.nobugs.org\/blog\/archives\/2004\/09\/14\/stucklist\/"},"modified":"2005-02-22T11:49:17","modified_gmt":"2005-02-22T10:49:17","slug":"stucklist","status":"publish","type":"post","link":"https:\/\/www.nobugs.org\/blog\/archives\/2004\/09\/14\/stucklist\/","title":{"rendered":"Stucklist"},"content":{"rendered":"<p>I&#8217;ve always meant to write down a programming &#8220;stucklist&#8221;.  It&#8217;s a list which you consult when you&#8217;re stuck.  Maybe it tells you that you&#8217;re solving the wrong problem.  Maybe it provides inspiration to fix the problem in a different way.  Either way, when you&#8217;re under deadline pressure and your brain is dribbling out of your ears, a stucklist might just provide a way out.  So, without further ado, here&#8217;s my initial stucklist:<\/p>\n<p> Avail yourself of more facts<br \/>\n Can you solve a different problem?<br \/>\n Get out of the office and go for a walk.<br \/>\n How can else you make the problem go away without coding a fix for it?<br \/>\n Could you make the endusers avoid the problem area?<br \/>\n Go home and do something less boring instead.<br \/>\n Look at a more general version of the problem.<br \/>\n Or consider a more specific version of the problem.<br \/>\n Is it actually so bad not to fix the problem?<br \/>\n Fix one or more of the variables to simplify the problem<br \/>\n Grab someone, say &#8220;I&#8217;m a bit stuck&#8221; and throw some ideas around<br \/>\n Get someone else to fix it (evil bonus: they have to fix the fix too)<br \/>\n Can you buy in a solution, or spend money to make the problem go away?<br \/>\n Tell your manager that you&#8217;ve hit a problem and see if you can have more time, or redistribute work.<br \/>\n Get everyone else to workaround\/avoid the problem area<br \/>\n Code a solution using a different style &#8211; recusive\/iterative, stateful\/pure, push\/pull, table-based\/computed.<br \/>\n How would you solve the problem if you had infinite memory or a super-fast CPU?<br \/>\n Can you put any supporting framework in place which makes the problem easier to fix?<br \/>\n Draw a diagram &#8211; I find it&#8217;s easier to walk through examples when you can look at something and point at it.<br \/>\n Assume that there&#8217;s a way to progress which doesn&#8217;t involve solve this problem &#8211; can you find it?<\/p>\n<p>[Update:  I&#8217;ve since found <a href=\"http:\/\/c2.com\/cgi\/wiki?DecisionRoutinesWhenStuck\">this page<\/a> on the c2.com wiki which is similar]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve always meant to write down a programming &#8220;stucklist&#8221;. It&#8217;s a list which you consult when you&#8217;re stuck. Maybe it tells you that you&#8217;re solving the wrong problem. Maybe it provides inspiration to fix the problem in a different way. Either way, when you&#8217;re under deadline pressure and your brain is dribbling out of your [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-98","post","type-post","status-publish","format-standard","hentry","category-general"],"_links":{"self":[{"href":"https:\/\/www.nobugs.org\/blog\/wp-json\/wp\/v2\/posts\/98","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nobugs.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nobugs.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nobugs.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nobugs.org\/blog\/wp-json\/wp\/v2\/comments?post=98"}],"version-history":[{"count":0,"href":"https:\/\/www.nobugs.org\/blog\/wp-json\/wp\/v2\/posts\/98\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.nobugs.org\/blog\/wp-json\/wp\/v2\/media?parent=98"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nobugs.org\/blog\/wp-json\/wp\/v2\/categories?post=98"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nobugs.org\/blog\/wp-json\/wp\/v2\/tags?post=98"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}