{"id":6225,"date":"2014-06-30T00:01:08","date_gmt":"2014-06-30T07:01:08","guid":{"rendered":"http:\/\/www.wambooli.com\/blog\/?p=6225"},"modified":"2014-06-30T06:52:17","modified_gmt":"2014-06-30T13:52:17","slug":"command-line-v-ide","status":"publish","type":"post","link":"https:\/\/www.wambooli.com\/blog\/?p=6225","title":{"rendered":"Command Line v. IDE"},"content":{"rendered":"<p>For most grizzled programmers, the command line was where all the programming action took place. In fact, you&#8217;ve got to admire the dedication required to write some several-hundred thousand lines of code using a terminal, but they did it.<br \/>\n<!--more--><br \/>\nCommand line programming is rough-and-tumble, just like Unix or DOS or any text mode-only operating system. That&#8217;s the way programming life was during the microcomputer era (starting about 1977) going up through the mid-1990s.<\/p>\n<p>Now you have to understand that the programmers way back when actually enjoyed using a command prompt; text mode didn&#8217;t intimidate those guys. They relished the cryptic commands, most of which they knew by heart.<\/p>\n<p>In fact, many text mode commands were developed to make programming easier.<\/p>\n<p>The Integrated Development Environment, or IDE, eventually appeared, which made complex programs easier to manage. I remember using Borland&#8217;s IDE with TurboC back in the early 1990s. It was handy, but I continued to use the command line for coding some simple tool.<\/p>\n<p>IDEs became a necessity with graphical operating systems. For such development, a programmer needed tools that would automate a lot of the routine drudge work with building a windowed program.<\/p>\n<p>Sure, you can &#8220;hand code&#8221; a Windows program. I&#8217;ve done it. The source code file was about three pages long (assuming some 30 lines per page), and it merely popped-up a window. But with bitmaps, icons, and other graphical elements, using an IDE is preferable.<\/p>\n<p>My C programming books strived to teach the language by using the command prompt, or these days a terminal window. I did that for two reasons.<\/p>\n<p>First, it&#8217;s easier to code my books&#8217; small, sample programs at the command prompt. An IDE offers complexities you don&#8217;t need to code a program that spews out the numbers 1 through 10 in text mode.<\/p>\n<p>Second, it&#8217;s good to know one&#8217;s roots. The command prompt is still a viable tool, often quicker than using a mouse and graphical methods to accomplish the same task.<\/p>\n<p>With my latest C programming book, <em>Beginning Programming with C For Dummies<\/em>, I chose an IDE, Code::Blocks (CB). While it does take longer to use CB to set up my examples, that&#8217;s the way the world is heading. Even so, I wrote all the book&#8217;s programs at the command prompt. Old habits die hard.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m one of those nerds who just can&#8217;t give up the command prompt.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-6225","post","type-post","status-publish","format-standard","hentry","category-main"],"_links":{"self":[{"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6225","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6225"}],"version-history":[{"count":3,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6225\/revisions"}],"predecessor-version":[{"id":6293,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6225\/revisions\/6293"}],"wp:attachment":[{"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6225"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6225"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6225"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}