An Ode to JavaScript

Music JavaScript. You're my favorite type of script. Without you, I'd feel stripped. You're not Java. You're Javascript.

Over the past year or so, JavaScript has become a huge part of my life. I spent months learning everything I could about the intracacies of the language before applying to Hack Reactor, and now that I'm going through the program I am lucky enough to have the opportunity to work with it every day.

When you get deep enough into a subject, it gives you the opportunity to connect with people who are equally as captivated by the material as you are. So when I heard Hack Reactor was hosting a talent show, I felt the desire to make that connection. Not just with Hack Reactor, but with the JavaScript community as a whole. I churned out some lines of pseudo-code-lyrics the night before the show, and with a spark of JavaScript and a dash of comedy bundled up in the form of a song, Ode To JavaScript was spawned.

Here is the video of the performance. Lyrics are below. Thanks to HR23 cohort-mate Preston Parry for filming!

Ode To JavaScript

npm install -g song


JavaScript  
Your my favorite type of script  
Without you I’d feel stripped  
You’re not Java, you’re JavaScript

Closures…...  
Just one of the many features of JavaScript that is super useful for a ton of sweet stuff  
I mean, just think about the fact that we retain access to those outer function’s variables even after the closure returns!  
var amazing equals function parens open curly brackets newline alert open parens sweet close parens semicolon newline curly brackets semicolon newline amazing parens,  
…semicolon

Let’s talk about loops!  Let’s talk about loops!  Let’s talk about loops! Let’s talk about loops!  Let’s talk about loops!  Let’s talk about loops!

while (wes.guitar && audience.isStillInterested) {  
  wes.play();
}

But seriously folks, when was the last time you had someone playing you a song that had to do with a programming language?

When Brendan Eich wrote JavaScript in 1995  
He thought Sun Microsystems had taken him for a ride  
But little would he know about the languages success  
That 20 years later we’re still stuck with all this mess

From Data Structures, Algorithms, MVCs and Node  
There’s plenty Hack Reactor does to teach us how to code  
But something that our dear instructor Fred just seems to lack  
I don’t know if you’ve noticed but all of his shirts are black

It’s getting time for seniors to apply to all these jobs  
There’s Google, Yahoo, San Francisco startups and the mob  
But don’t forget the lessons that you learned when you were here  
That toaster lines are sacred and to eat lunch with your peers

Binary Solo* (x2)  
0 0 0 0 0 0 1  
0 0 0 0 0 0 1 1  
0 0 0 0 0 0 1 1 1  
0 0 0 0 1 1 1 1 

0, 1, 0, 1, 0, 1, 0, 1

(Last chorus x2)
JavaScript  
Your my favorite type of script  
Without you I’d feel stripped  
You’re not Java, you’re JavaScript

return;

*Binary Solo shamelessly borrowed from Flight of the Conchords

comments powered by Disqus