A poem

Kinda silly. At least it might compile...

Listing One : A poem
/\*
\*   This is not code.
\*/
float on(short poem, double meaning) {
   float away, home;

   // A poem should not have a greater meaning than itself.
   while(meaning >= poem) {
       // reduce meaning until it fits in poem.
       meaning -= poem;
   }

   away = poem - meaning;

   home = !away;

   return home;
}

A friend challenged me to post something to my blog that I wouldn't normally post.

Comments:

Post a Comment:
Comments are closed for this entry.
About

mduigou

Search

Archives
« July 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
  
       
Today