hoodwink.d enhanced
RSS
2.0
XHTML
1.0

RedHanded

haiku.rb #

by why in bits
              "eyes".scan /the_darkness/
        catch( :in_the_wind ) { ?a.round; "breath" \
                or "a".slice /of_moon/ }

You don’t want the program to do anything, you just want to give the parser something to read. Poetry both you and your parser can read. (See also HOWTO.)

Nutter. Chad Fowler thinks he can get his PC to do all the poetry for him.

 hey buddy, nice code.
 you makin mine eyes explode --
 but that don't count here.
said on 13 Feb 2005 at 02:27
  <<COME_ON_NOW_I_THOUGHT
  you'd add your own careful verse.
  COME_ON_NOW_I_THOUGHT
said on 13 Feb 2005 at 11:34

Here’s one I wrote a while back… sadly, I can’t write pleasant poetry in words, let alone code.


def you are

 false
 end

enjoy life while you /can/
said on 13 Feb 2005 at 12:53

sadfasfsadfs asfasfasdfasdfasdfsfd

said on 13 Feb 2005 at 12:53

testing redcloth

said on 13 Feb 2005 at 12:53

redcloth leaves tags unopened. i suggest that html tags shouldn’t be allowed at all.

said on 13 Feb 2005 at 12:54

how about an applet blah blah.

said on 13 Feb 2005 at 12:54

good at least an applet doesn’t work.

said on 13 Feb 2005 at 15:51

oh, come on. if you want to set a bold precedent in the comments, it is allowed.

and it’s easy enough to turn off. surely, this is collaboration.

said on 13 Feb 2005 at 22:07

This page no longer validates.

said on 13 Feb 2005 at 22:09

Although now that I check it didn’t validate before the poorly-nested /

either.

said on 13 Feb 2005 at 22:09

oops… fixed.
said on 14 Feb 2005 at 04:55

Here’s one I wrote a while ago (tried to get it to actually do something too):

# steps through an array
# yielding only elements
# with non-nil values

class Array
  def filled
    each do |x|       # "each do x" 
      next unless x
      yield x  
    end  
  end
end  
said on 14 Feb 2005 at 20:07

how about just arr.compact.each

said on 14 Feb 2005 at 21:00

cilibrar, I think you missed the point that both his comment and code are haiku.

said on 18 Feb 2005 at 12:53

ah now i see thx

said on 31 Mar 2005 at 03:42

Late, I know:

class Starts < AndThenWe raise “questions” and require “thought” end if “we”.rjust

Comments are closed for this entry.