Literally.
Any application that can be written in JavaScript, will eventually be written in JavaScript.
–Jeff Atwood
Before working at the company, I had programmed mainly in C, C++, and PHP (and therefore MySQL). During my interview, I said that my favorite programming language was C (and it was). I had been working as both a web programmer and research assistant. As a web programmer, I had done a few tricks with JavaScript, but the websites were driven by PHP and CSS. I hadn’t yet discovered jQuery. When I had to develop a network traffic blaster and receiver, I wrote them in C++.
Today, I write all webpages in pure JavaScript. There is a single HTML page: index.html. It only serves to load the necessary CSS and JavaScript libraries and application The <body>
is empty, except for a single onload="init();"
. I use jQuery to build the DOM. And I’ve recently started using D3.js to build data-driven documents. Yesterday I stumbled upon Bootstrap, which I plan on integrating when I don’t need jQuery UI widgets.
And if I had to build that network traffic generator again, I would do it in Python, which is now my preferred non-web language. If it’s not on the browser, I write it in Python.
This is a really boring post, but I’m going to post it anyway.
More exciting: I am playing Dead Space 3 (not as good as the first two–the first was the best), and Borderlands in now on my Steam Wishlist.