{"id":330,"date":"2009-04-01T17:00:07","date_gmt":"2009-04-01T23:00:07","guid":{"rendered":"http:\/\/www.ourada.org\/blog\/archives\/330"},"modified":"2009-04-01T17:00:07","modified_gmt":"2009-04-01T23:00:07","slug":"exceptions","status":"publish","type":"post","link":"https:\/\/www.ourada.org\/blog\/archives\/330","title":{"rendered":"&#8216;Exceptions&#8217;?"},"content":{"rendered":"<p>I wonder if the term &#8216;exception&#8217; in computer programming should be renamed. Both the name, and the way that exceptions are treated in typical programming languages, seem to relegate exception handling to a lower status. But really, in a lot of cases, good systems can become great ones via well-designed exception handling.<\/p>\n<p>I recently moved. Long before I did, I placed a pre-order on Amazon. When it came about time to ship the item, Amazon sent me a mail saying &#8220;The address on this order is no longer in your address book, are you sure you want to ship it there, or do you want to use another address?&#8221;.<\/p>\n<p>Having sorta implemented an e-commerce system, and having pondered them to varying degrees over the years, I never really thought of the &#8220;customer moved between when the order was placed and when it shipped&#8221; case. I&#8217;d be willing to bet that many e-commerce solutions out there don&#8217;t very adequately handle that &#8216;exception&#8217;. But I&#8217;m glad Amazon&#8217;s does.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I wonder if the term &#8216;exception&#8217; in computer programming should be renamed. Both the name, and the way that exceptions are treated in typical programming languages, seem to relegate exception handling to a lower status. But really, in a lot of cases, good systems can become great ones via well-designed exception handling. I recently moved. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-330","post","type-post","status-publish","format-standard","hentry","category-general","author-admin"],"_links":{"self":[{"href":"https:\/\/www.ourada.org\/blog\/wp-json\/wp\/v2\/posts\/330","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ourada.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ourada.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ourada.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ourada.org\/blog\/wp-json\/wp\/v2\/comments?post=330"}],"version-history":[{"count":0,"href":"https:\/\/www.ourada.org\/blog\/wp-json\/wp\/v2\/posts\/330\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ourada.org\/blog\/wp-json\/wp\/v2\/media?parent=330"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ourada.org\/blog\/wp-json\/wp\/v2\/categories?post=330"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ourada.org\/blog\/wp-json\/wp\/v2\/tags?post=330"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}