<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>A Blog of Very Little Brain &#187; COBOL</title>
	<atom:link href="http://erez.wordpress.com/tag/cobol/feed/" rel="self" type="application/rss+xml" />
	<link>http://erez.wordpress.com</link>
	<description>'What does Crustimoney Proseedcake mean?' said Pooh.   'For I am a Bear of Very Little Brain, and long words Bother me.'</description>
	<lastBuildDate>Mon, 22 Sep 2008 15:16:32 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='erez.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/6a647dfaf7d639b38ddb1fcd5d6be62a?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>A Blog of Very Little Brain &#187; COBOL</title>
		<link>http://erez.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://erez.wordpress.com/osd.xml" title="A Blog of Very Little Brain" />
		<item>
		<title>Code and back again</title>
		<link>http://erez.wordpress.com/2008/08/12/code-and-back-again/</link>
		<comments>http://erez.wordpress.com/2008/08/12/code-and-back-again/#comments</comments>
		<pubDate>Tue, 12 Aug 2008 14:12:59 +0000</pubDate>
		<dc:creator>Erez</dc:creator>
				<category><![CDATA[History]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[COBOL]]></category>
		<category><![CDATA[Perl]]></category>

		<guid isPermaLink="false">http://erez.wordpress.com/?p=300</guid>
		<description><![CDATA[A recent discussion over at the Open-Cobol mailing list have brought up some nice gems.
My generation learned COBOL not from textbooks but from vendor manuals
and also a set of tutorials in the form of programmed texts called the &#8220;IBM green books&#8221;
(they had green covers). Programming was an apprenticeship business back then.
We learned from each other.
Comparing [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erez.wordpress.com&blog=292581&post=300&subd=erez&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>A recent discussion over at the Open-Cobol <a href="http://sourceforge.net/mailarchive/forum.php?forum_name=open-cobol-list">mailing list</a> have brought up some nice gems.</p>
<blockquote><p>My generation learned COBOL not from textbooks but from vendor manuals<br />
and also a set of tutorials in the form of programmed texts called the &#8220;IBM green books&#8221;<br />
(they had green covers). Programming was an apprenticeship business back then.<br />
We learned from each other.</p></blockquote>
<p>Comparing the world of today&#8217;s corporate programming, of which I am a part, to the world of yesterday&#8217;s, from my memories of visiting my mother&#8217;s workplace, I can really relate to this description. I would compare this to any person studying a profession and practice, but not being actually familiar with any of the tools and application they&#8217;ll actually use. These days, of course, basic to advanced courses are required in any computer-based tool, from OS and Office suites, to the tools-of-trade and assisting applications. </p>
<blockquote><p>
&gt; &gt; I would state that a simple Hello World Program in COBOL has become MUCH simpler<br />
&gt; &gt; than his example. We no long are required to have all those sections or even the<br />
&gt; &gt; preceding line numbers.<br />
&gt; Yeah, on the opencobol.org forum (and in the soon to be unveiled FAQ), hello world is as<br />
&gt; short as:<br />
&gt; <code>program-id.hello.procedure division.display "Hello World!".</code></p>
<p>There was a language in my youth called APL whose fan base revelled in creating one line<br />
programs. I hope COBOL and its fan base has not been reduced to that level.<br />
An important and unique feature of COBOL is that it was designed to be read as well as written.<br />
It is intended to be a self-documenting language. While recent versions have strayed far from that<br />
original concept the thought of reducing a sample program to one line is a violation of one of the key<br />
features that makes COBOL different from other languages. Just because you can do it doesn&#8217;t mean<br />
you should do it.</p></blockquote>
<p>COBOL was conceived as a language that will have a syntax that will allow non-programmers to be able to read it, and for the programmers to easily translate the non-programmers pseudo-code&#8217;s logic to a program. This resulted with <code>PERFORM READ-FROM-FILE UNTIL END-OF-FILE</code>  and  <code>EVALUATE USER-INPUT<br />
    WHEN NEXT-RECORD ADD 1 TO RECORD-NUMBER GIVING TOTAL-RECORDS</code><br />
But it also caused the language to become encumbered with the actual semantics, where any action requires a long description, maintained in several parts of the code simultaneously. Over the years, attempts were made to include more advanced features, while, on the other hand, reduce the amount of text needed to be used. It would seem that <a href="http://opencobol.org">Open-COBOL</a> have dropped everything but the actual commands, giving a slim version of COBOL, which might do it the justice it needs (if only it was compiled to byte-code rather than to C).</p>
<p>Another interesting element here, is the writer&#8217;s reference to one-liners and <a href="http://aplteam2.com/aplwiki/">APL</a>. This is a well known argument against Perl&#8217;s supposed unreadability, based on its one-liners, <a href="http://www0.us.ioccc.org/main.html">obfuscation</a> and &#8220;<a href="http://codegolf.com/">programming golf</a>&#8221; challenges. I, however believe that these, and other traits of the language are a virtue. A programming language with an English-like verbosity, that has an ability to use the shortest programming form, the &#8220;one-liner&#8221; as an expression method. Apart from the constrains of style and practice, this, is the true strength of Perl, the ultimate freedom of expression in computer programming form.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/erez.wordpress.com/300/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/erez.wordpress.com/300/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/erez.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/erez.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/erez.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/erez.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/erez.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/erez.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/erez.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/erez.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/erez.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/erez.wordpress.com/300/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=erez.wordpress.com&blog=292581&post=300&subd=erez&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://erez.wordpress.com/2008/08/12/code-and-back-again/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7504f9ca54c626d92481e02b3083a2c8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">The Angry Young Man</media:title>
		</media:content>
	</item>
	</channel>
</rss>