Sunday, November 29, 2009

99 Bottles Of Beer On The Wall In 7 Different Programming Languages

You might ask right away, why on earth would someone care about how to program 99 Bottles Of Beer On The Wall in 7 different languages? There's a few reasons, really!

Maybe, just maybe someone would like to compare the source files and see what the differences are between them, if any at all.

Maybe, programmers can use it to bite and pick at each others programming language that they specialize in to say things similar to: This language is better because bla bla bla. Or that language is better because it knows when I need a fresh cup of coffee.

But, mainly it's for myself to show all possibly employers that my passion for programming is real and that I not only wanna know how to do something in one language but as many languages as possible.

Let's face it, if you wanna be successful as a developer you MUST know more than one programming language or hope that you're a lucky one that lands a job only working on a single web site or application (sooo rare).

That's why I took the time to write some super simple scripts that print out the tune of 99 Bottles Of Beer On The Wall in 7 different programming languages.The programming languages that I coded this in are listed below and feel free to click the language to download the source or click "All" to obviously get all the source files.

  1. PHP
  2. ColdFusion
  3. Java
  4. JavaScript
  5. Python
  6. ASP.NET C#
  8. All
Oh Yea!, This was the first time I have ever written a line of Python code and kinda liked it :^)

Thanks and I hope that everyone digs this post.
- Pete

No comments: