{"id":395,"date":"2003-03-01T15:58:11","date_gmt":"2003-03-01T23:58:11","guid":{"rendered":""},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-30T08:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/of.jennism.com\/?p=395","title":{"rendered":""},"content":{"rendered":"<p>While sorting through random sheets of paper, I found my old CS homework.  It was from a more innocent time of my freshman year.  Where things seemed so new and I was so determined that I would succeed in these challenges.<\/p>\n<p>Sniff, those easy days of programming&#8230;<\/p>\n<p>All this just to switch the pronuns in a sentence!<br \/>\n<font face=\\\"courier new\\\">(define (switch s)<br \/>\n(cond<br \/>\n((empty? s) \\'())<br \/>\n((equal? (first s) \\&#8217;you) (sentence \\&#8217;i (switch-rest (butfirst s))))<br \/>\n&#8230;<br \/>\n(else (sentence (first s) (switch-rest (butfirst s))))))<\/p>\n<p>(define (switch-rest s)<br \/>\n(cond<br \/>\n(empty? s) \\'()<br \/>\n(equal? (first s) \\&#8217;i) (sentence \\&#8217;you (switch-rest (butfirst s))))<br \/>\n&#8230;<br \/>\n(else (sentence (first s) (switch-rest (butfirst s))))))<\/p>\n<p>> (switch \\'(you told me that I should wake you up))<br \/>\n(i told you you should wake me up)<\/font><\/p>\n","protected":false},"excerpt":{"rendered":"<p>While sorting through random sheets of paper, I found my old CS homework. It was from a more innocent time of my freshman year. Where things seemed so new and I was so determined that I would succeed in these &hellip; <a href=\"https:\/\/of.jennism.com\/?p=395\">Continue reading <span class=\"meta-nav\">&rarr;<\/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":[],"class_list":["post-395","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/of.jennism.com\/index.php?rest_route=\/wp\/v2\/posts\/395","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/of.jennism.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/of.jennism.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/of.jennism.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/of.jennism.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=395"}],"version-history":[{"count":0,"href":"https:\/\/of.jennism.com\/index.php?rest_route=\/wp\/v2\/posts\/395\/revisions"}],"wp:attachment":[{"href":"https:\/\/of.jennism.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=395"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/of.jennism.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=395"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/of.jennism.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=395"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}