Go Back   CodingForums.com > :: Computing & Sciences > Geek News and Humour

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Old 08-12-2004, 01:48 PM   PM User | #1
B2004
New to the CF scene

 
Join Date: May 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
B2004 is an unknown quantity at this point
Code poetry

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!!!
B2004 is offline   Reply With Quote
Old 08-12-2004, 03:05 PM   PM User | #2
bcarl314
Mega-ultimate member


 
Join Date: Jun 2002
Location: Winona, MN - The land of 10,000 lakes
Posts: 1,651
Thanks: 1
Thanked 21 Times in 20 Posts
bcarl314 is on a distinguished road
PERL is famous for poems...

http://iis1.cps.unizar.es/Oreilly/perl/prog/ch08_06.htm
bcarl314 is offline   Reply With Quote
Old 08-12-2004, 03:39 PM   PM User | #3
shmoove
Regular Coder

 
Join Date: Dec 2003
Posts: 367
Thanks: 0
Thanked 0 Times in 0 Posts
shmoove is an unknown quantity at this point
I don't know if this qualifies, but it's interesting nonetheless:
Coding Famous Quotes

shmoove
shmoove is offline   Reply With Quote
Old 08-24-2004, 10:14 PM   PM User | #4
liorean
The thread killer


 
Join Date: Feb 2003
Location: Umeå, Sweden
Posts: 5,575
Thanks: 0
Thanked 84 Times in 75 Posts
liorean will become famous soon enough
Anyone here heard of a language called INTERCAL? That's poetry!
__________________
liorean <[lio@wg]>
Articles: RegEx evolt wsabstract , Named Arguments
Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs
Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards
liorean is offline   Reply With Quote
Old 08-24-2004, 11:28 PM   PM User | #5
gsnedders
Senior Coder

 
gsnedders's Avatar
 
Join Date: Jan 2004
Posts: 2,332
Thanks: 1
Thanked 7 Times in 7 Posts
gsnedders is on a distinguished road
Quote:
Originally Posted by liorean
Anyone here heard of a language called INTERCAL? That's poetry!
Heard of it... but got no idea what it's like...
__________________
Geoffrey Sneddon
gsnedders is offline   Reply With Quote
Old 08-24-2004, 11:57 PM   PM User | #6
liorean
The thread killer


 
Join Date: Feb 2003
Location: Umeå, Sweden
Posts: 5,575
Thanks: 0
Thanked 84 Times in 75 Posts
liorean will become famous soon enough
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:
Code:
        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
__________________
liorean <[lio@wg]>
Articles: RegEx evolt wsabstract , Named Arguments
Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs
Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards

Last edited by liorean; 08-24-2004 at 11:59 PM..
liorean is offline   Reply With Quote
Old 08-24-2004, 11:59 PM   PM User | #7
gsnedders
Senior Coder

 
gsnedders's Avatar
 
Join Date: Jan 2004
Posts: 2,332
Thanks: 1
Thanked 7 Times in 7 Posts
gsnedders is on a distinguished road
You just have to love that...
__________________
Geoffrey Sneddon
gsnedders is offline   Reply With Quote
Old 05-29-2005, 06:46 AM   PM User | #8
enumerator
Regular Coder

 
Join Date: May 2005
Posts: 313
Thanks: 0
Thanked 0 Times in 0 Posts
enumerator is an unknown quantity at this point
Code:
function kiss(her){
	try{
		throw her();}
	catch(her){
		return her instanceof Error ? false : true;}}

a dysfunctional relationship...
__________________
Thanks in advance!

Last edited by enumerator; 05-29-2005 at 09:13 AM.. Reason: version 1.0
enumerator is offline   Reply With Quote
Old 05-29-2005, 11:27 AM   PM User | #9
shmoove
Regular Coder

 
Join Date: Dec 2003
Posts: 367
Thanks: 0
Thanked 0 Times in 0 Posts
shmoove is an unknown quantity at this point
On the topic of code poetry, the famous quotes in VB riddle thread.

shmoove
shmoove is offline   Reply With Quote
Old 05-29-2005, 11:34 AM   PM User | #10
dannyhayes
Regular Coder

 
Join Date: Jan 2005
Location: Essex
Posts: 146
Thanks: 0
Thanked 0 Times in 0 Posts
dannyhayes is an unknown quantity at this point
Loving that.
__________________
Danny Hayes
Under Construction www.hayes-design.co.uk
dannyhayes is offline   Reply With Quote
Old 05-29-2005, 11:44 AM   PM User | #11
JamieR
Senior Coder

 
JamieR's Avatar
 
Join Date: Oct 2004
Location: United Kingdom
Posts: 3,162
Thanks: 0
Thanked 5 Times in 5 Posts
JamieR is on a distinguished road
.....or you could throw her into an infiniate loop
__________________
-Jamie
JamieR is offline   Reply With Quote
Old 05-29-2005, 10:37 PM   PM User | #12
enumerator
Regular Coder

 
Join Date: May 2005
Posts: 313
Thanks: 0
Thanked 0 Times in 0 Posts
enumerator is an unknown quantity at this point
Oh yeah...
Code:
	finally{
		kiss(her);}}
__________________
Thanks in advance!

Last edited by enumerator; 05-30-2005 at 12:55 AM.. Reason: if(her.propertyIsEnumerable("input")) createPopup(ActiveXObject) else new Date;
enumerator is offline   Reply With Quote
Old 07-11-2009, 05:16 PM   PM User | #13
Beshops
New to the CF scene

 
Join Date: Jul 2009
Posts: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Beshops is an unknown quantity at this point
Beautiful !
Beshops is offline   Reply With Quote
Old 07-22-2009, 02:09 PM   PM User | #14
RabidMango
Banned

 
Join Date: Jul 2009
Posts: 52
Thanks: 10
Thanked 4 Times in 4 Posts
RabidMango can only hope to improve
heart.pl...
Code:
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)
RabidMango is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:05 PM.

Home - Contact Us - Archives - Link to CF - Resources - Top 

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.