This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Meaningless Drivel and the fly likes 99 bottles of beer Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Other » Meaningless Drivel
Reply Bookmark "99 bottles of beer" Watch "99 bottles of beer" New topic
Author

99 bottles of beer

Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 26173
    
  66

Got this link from someone I know: http://99-bottles-of-beer.net/

It's the program 99 bottles of beer on a wall written in different languages. Which language do you think has a cool implementation?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 9944
    
    6

perl, without a doubt:



and yes, it does work. I ran it myself.


Never ascribe to malice that which can be adequately explained by stupidity.
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24051
    
  13

fred rosenberger wrote:
and yes, it does work. I ran it myself.




[Jess in Action][AskingGoodQuestions]
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 9944
    
    6

I did a little research. The original author just wrote a normal perl script, then used a module that obfuscates in a special way to create the pictures.

The original perl was (I believe) this:


They site has a whitespace implementation as well, but I didn't think cutting-n-pasting it here would really do any good.
 
I agree. Here's the link: http://jrebel.com/download
 
subject: 99 bottles of beer
 
Similar Threads
Head first Beersong
Beersong
99 bottles of beer song.......
Hang by Kathie and Bert on P. 14
WA #1.....word association