...

Code poetry

B2004
08-12-2004, 12:48 PM
So does anyone know what code poetry is or got any opinons on "how technologists, creativity and abstract thought go together??"


got it as a topic to discuss so i said i throw it out there and get ppls views!!!

bcarl314
08-12-2004, 02:05 PM
PERL is famous for poems...

http://iis1.cps.unizar.es/Oreilly/perl/prog/ch08_06.htm

shmoove
08-12-2004, 02:39 PM
I don't know if this qualifies, but it's interesting nonetheless:
Coding Famous Quotes (http://www.visualbasicforum.com/showthread.php?t=171441)

shmoove

liorean
08-24-2004, 09:14 PM
Anyone here heard of a language called INTERCAL? That's poetry!

gsnedders
08-24-2004, 10:28 PM
Anyone here heard of a language called INTERCAL? That's poetry!Heard of it... but got no idea what it's like...

liorean
08-24-2004, 10:57 PM
It's basically BASIC with inverted causality. Look at <http://www.catb.org/~esr/intercal/> and <http://www.muppetlabs.com/~breadbox/intercal-man/>

One have to love constructs such as COME FROM, ABSTAIN, FORGET, GIVE UP, DON'T, that you can specify a qualifier for how likely a statement is to actually be executed, the requirement from many compilers that you are polite (use PLEASE sufficiently often, but not TOO often)

Look at this sample stolen from the C-Intercal manual, for instance: DO (5) NEXT
(5) DO FORGET #1
PLEASE WRITE IN :1
DO .1 <- '?":1~'#32768$#0'"$#1'~#3
DO (1) NEXT
DO :1 <- "'?":1~'#65535$#0'"$#65535'
~'#0$#65535'"$"'?":1~'#0$#65535'"
$#65535'~'#0$#65535'"
DO :2 <- #1
PLEASE DO (4) NEXT
(4) DO FORGET #1
DO .1 <- "?':1~:2'$#1"~#3
DO :1 <- "'?":1~'#65535$#0'"$":2~'#65535
$#0'"'~'#0$#65535'"$"'?":1~'#0
$#65535'"$":2~'#0$#65535'"'~'#0$#65535'"
DO (1) NEXT
DO :2 <- ":2~'#0$#65535'"
$"'":2~'#65535$#0'"$#0'~'#32767$#1'"
DO (4) NEXT
(2) DO RESUME .1
(1) PLEASE DO (2) NEXT
PLEASE FORGET #1
DO READ OUT :1
PLEASE DO .1 <- '?"':1~:1'~#1"$#1'~#3
DO (3) NEXT
PLEASE DO (5) NEXT
(3) DO (2) NEXT
PLEASE GIVE UP

gsnedders
08-24-2004, 10:59 PM
You just have to love that...

enumerator
05-29-2005, 05:46 AM
function kiss(her){
try{
throw her();}
catch(her){
return her instanceof Error ? false : true;}}


a dysfunctional relationship... :p

shmoove
05-29-2005, 10:27 AM
On the topic of code poetry, the famous quotes in VB riddle thread. (http://www.visualbasicforum.com/showthread.php?t=171441)

shmoove

dannyhayes
05-29-2005, 10:34 AM
Loving that.

JamieR
05-29-2005, 10:44 AM
.....or you could throw her into an infiniate loop :p

enumerator
05-29-2005, 09:37 PM
Oh yeah... :D
finally{
kiss(her);}}

Beshops
07-11-2009, 04:16 PM
Beautiful !

RabidMango
07-22-2009, 01:09 PM
heart.pl...

open (hers,"<first");
bind myheartto,hers;
while (my $oul=<hers>){
if ($oul eq true){
close (hers); last;
}
}


(i've never used bind before, i just know that whatever it does there doesn't throw up an error... although i know a lot of people who would throw up at my poetry)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum