Skip to content

This little javascript will render the lyrics for the famous folk song "99 Bottles of Beer" right in your console!

Notifications You must be signed in to change notification settings

kilinkis/99-bottles-of-beer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Lyrics for "99 Bottles of Beer" 🍻🍻🍻

This little javascript will render the lyrics for the famous folk song "99 Bottles of Beer" right in your console!
This song is often refered in Computer Science courses.
I'll quote WikiPedia here:

The computer scientist Donald Knuth proved that the song has a complexity of in his in-joke-article "The Complexity of Songs".

Numerous computer programs exist to output the lyrics to the song. This is analogous to "Hello, World!" programs, with the addition of a loop. As with "Hello World!", this can be a practice exercise for those studying computer programming, and a demonstration of different programming paradigms dealing with looping constructs and syntactic differences between programming languages within a paradigm.

Bonus track (pun intended):

99 bottles by Zane Williams

A funnier and less verbose version of the original song. Also, probably the best song ever written:
https://open.spotify.com/track/3FdZmVHgU6Kpy58bZNJRkC?si=sxswwlPaSYOgmu5-CM6LnQ

How do I run this??

Just paste the code in your browser's terminal, or, if you're feeling lazy, just click here, but the fancy colors don't work on JSBIN.

About

This little javascript will render the lyrics for the famous folk song "99 Bottles of Beer" right in your console!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published