I remember seeing a calendar application written in S/36 OCL... I wish I still had a copy of the journal it was published in. As a junior programmer, I was completely baffled by it.
-Eric DeLong
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Vern Hamberg
Sent: Friday, April 12, 2013 4:21 PM
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: Re: why rpg and not cobol
There are always the Perl Obfuscation Contests. People seem to really enjoy taking Larry Wall's "natural-language" Pathologically Eclectic Rubbish Lister and make natural language unintelligible!
Here's an example that slowly displays the text "Just another Perl / Unix hacker", multiple characters at a time, with delays.
@P=split//,".URRUU\c8R";@d=split//,"\nrekcah xinU / lreP rehtona tsuJ";sub p{
@p{"r$p","u$p"}=(P,P);pipe"r$p","u$p";++$p;($q*=2)+=$f=!fork;map{$P=$P[$f^ord
($p{$_})&6];$p{$_}=/ ^$P/ix?$P:close$_}keys%p}p;p;p;p;p;map{$p{$_}=~/^[P.]/&&
close$_}%p;wait until$?;map{/^r/&&<$_>}%p;$_=$d[$q];sleep rand(2)if/\S/;print
And we think we see bad code? Where are the comments?
----- Original Message -----
On 4/12/13 7:47 AM, Mark S Waterbury wrote:
And, C can be almost as cryptic and obtuse as APL ... :-\
And worse, C will give you enough rope to hang yourself with, and then
help you tie the knot.
--
JHHL
As an Amazon Associate we earn from qualifying purchases.