{"id":258,"date":"2006-12-08T22:11:00","date_gmt":"2006-12-08T22:11:00","guid":{"rendered":"http:\/\/www.sgmlguru.org\/wp\/?p=258"},"modified":"2015-01-14T18:35:29","modified_gmt":"2015-01-14T18:35:29","slug":"im-rediscovering-c-with-kr","status":"publish","type":"post","link":"http:\/\/www.sgmlguru.org\/wp\/?p=258","title":{"rendered":"I&#8217;m Rediscovering C with K&#038;R"},"content":{"rendered":"<p>Lately I&#8217;ve been rediscovering <span style=\"font-weight: bold;\">C<\/span>. The programming language, that is. Mostly, I&#8217;ve been doing it by reading <span style=\"font-style: italic;\">Brian Kernighan<\/span> and <span style=\"font-style: italic;\">Dennis Ritchie&#8217;s<\/span> classic tutorial on the language, <span style=\"font-style: italic;\">The C Programming Language<\/span>. By today&#8217;s standards, it&#8217;s a rather thin book, only 272 pages, but it&#8217;s the best book ever written on the subject, and vastly superior to any 1,000-page <span style=\"font-style: italic;\">Learn C in 21 days<\/span> and the like. If I was allowed a single computer book to emulate, it would be it, the classic <span style=\"font-style: italic;\">K&#038;R<\/span>.<\/p>\n<p>They don&#8217;t get any better than <span style=\"font-style: italic;\">K&#038;R<\/span>. The book&#8217;s concise yet thorough, easy to read, and never wordy. And it was the first book to showcase a <span style=\"font-style: italic;\">Hello World<\/span> example program.<\/p>\n<p>Now, I&#8217;m not a real programmer by any means. While some of my code is actually used out there, and I&#8217;ve been paid good money for it, most is rather bad, wordy, and overly ambitious. Which brings me to another book I&#8217;m craving at the moment: <span style=\"font-style: italic;\">Code Complete<\/span>, by <span style=\"font-style: italic;\">Steven McConnell<\/span>. It&#8217;s a general-purpose volume from Microsoft Press (of all places) on writing good, professional-quality code, containing best practices of all sorts, from tips on testing to the pseudo-code method, and much, much more. I&#8217;ve been reading it at the local bookstore for days now, and while it&#8217;s way too expensive to buy there, it&#8217;s more reasonably priced at Amazon and other online Meccas.<\/p>\n<p>It&#8217;s my current #1 obsession to get that book, and while I really don&#8217;t have the money right now, I fully expect to give in to the temptation shortly. A few abstract clicks late one night, a <span style=\"font-style: italic;\">PayPal<\/span> message, and it&#8217;s mine.<\/p>\n<p>I&#8217;ll let you know.<br \/><span style=\"font-style: italic;\"><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Lately I&#8217;ve been rediscovering C. The programming language, that is. Mostly, I&#8217;ve been doing it by reading Brian Kernighan and Dennis Ritchie&#8217;s classic tutorial on the language, The C Programming Language. By today&#8217;s standards, it&#8217;s a rather thin book, only 272 pages, but it&#8217;s the best book ever written on the subject, and vastly superior [&hellip;]<\/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":"http:\/\/www.sgmlguru.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/258"}],"collection":[{"href":"http:\/\/www.sgmlguru.org\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.sgmlguru.org\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.sgmlguru.org\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.sgmlguru.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=258"}],"version-history":[{"count":0,"href":"http:\/\/www.sgmlguru.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/258\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.sgmlguru.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=258"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.sgmlguru.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=258"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.sgmlguru.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=258"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}