{"id":24111,"date":"2022-02-15T21:59:34","date_gmt":"2022-02-16T02:59:34","guid":{"rendered":"http:\/\/blog.kenperlin.com\/?p=24111"},"modified":"2022-02-15T21:59:34","modified_gmt":"2022-02-16T02:59:34","slug":"infinitely-stupid","status":"publish","type":"post","link":"https:\/\/blog.kenperlin.com\/?p=24111","title":{"rendered":"Infinitely stupid"},"content":{"rendered":"<p>I distinctly remember a particular moment in middle school, talking to an older friend about computers. He had taken a computer programming class, and I hadn&#8217;t.<\/p>\n<p>I asked him &#8220;How does the computer know how to do what you tell it to do?&#8221; I was imagining some sort of intelligence inside the computer. You would somehow explain to it what you wanted done, and it would do it for you.<\/p>\n<p>Then in ninth grade I took Mr. Haggerty&#8217;s intro to computer science class. The very first thing he did was have us program a &#8220;paper computer&#8221;. There was no real computer, just pencil and paper and some simple rules.<\/p>\n<p>On your piece of paper you wrote numbers into little boxes, which were arranged in a row like in a board game. The rules dictated what happened next.<\/p>\n<p>Each number represented a different rule. One number might mean &#8220;add two numbers.&#8221; Another might mean &#8220;skip forward two boxes if the answer is zero.&#8221;<\/p>\n<p>It soon became clear that if you started by writing the right sequence of numbers into the boxes, you could make the &#8220;computer&#8221; calculate all sorts of interesting things. And that&#8217;s when I realized the secret of computers.<\/p>\n<p>Which is that they are infinitely stupid. They have no brains at all. Computers will only do exactly what you tell them do, and nothing else.<\/p>\n<p>Once you wrap your head around that, you start to see why programming works, and why programming is so powerful.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I distinctly remember a particular moment in middle school, talking to an older friend about computers. He had taken a computer programming class, and I hadn&#8217;t. I asked him &#8220;How does the computer know how to do what you tell it to do?&#8221; I was imagining some sort of intelligence inside the computer. You would &hellip; <a href=\"https:\/\/blog.kenperlin.com\/?p=24111\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Infinitely stupid&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/posts\/24111"}],"collection":[{"href":"https:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.kenperlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=24111"}],"version-history":[{"count":1,"href":"https:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/posts\/24111\/revisions"}],"predecessor-version":[{"id":24112,"href":"https:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/posts\/24111\/revisions\/24112"}],"wp:attachment":[{"href":"https:\/\/blog.kenperlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=24111"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.kenperlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=24111"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.kenperlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=24111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}