aspose file tools*
The moose likes Meaningless Drivel and the fly likes 99 bottles of beer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Other » Meaningless Drivel
Bookmark "99 bottles of beer" Watch "99 bottles of beer" New topic
Author

99 bottles of beer

Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31062
    
232

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: 11498
    
  16

perl, without a doubt:



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


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

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: 11498
    
  16

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://aspose.com/file-tools
 
subject: 99 bottles of beer