Why I Prefer JavaScript

Many years ago when I started my university studies (more than I would like to think), I elected as my major computer science. I stuck with that major for about 2 semesters and then switched to English. Many people thought it was a drastic switch; from one side of the spectrum to the other. Two majors that are not even closely related.

However, I considered both majors similar. I discovered that the reason I enjoyed English during my undergraduate studies is because I enjoy expressing myself with language. (Now, I may not be that great at it, but I still enjoy it.) I also enjoy seeing (reading) how others express themselves with language.

Well, in that sense I see many similarities between programming and writing. In programming you need to use the syntax and semantics of the language to express what you are trying to accomplish. You not only have to communicate to the computer, but you also need to communicate to other programmers that will need to read and understand your code.

This brings me to the reason that I prefer coding in JavaScript over other languages. JavaScript is a very flexible language. There is never one way to solve a problem. JavaScript includes multiple approaches to coding and doesn’t force you into a single approach. I love the flexibility. I love the freedom. I love to see how different programmers approach a similar problem; the unique techniques they come up with and basically how they express themselves. And I enjoy not only solving the problem, but there is a certain satisfaction when you can solve it in an elegant, expressive way.

This is why I prefer JavaScript. Probably not a reason you expected to hear, but it is the most persuasive reason for me personally.

Why do you use JavaScript?

Author: Steven Hancock

Steven has 20+ years experience in product development and 15+ years using JavaScript. He started learning JavaScript when it was a niche language used for minor affects on a web site. The growth and ubiquitous nature of JavaScript both excites and inspires him.

Currently he is President and lead Trainer at All Things JavaScript, a resource for anyone and everyone that hopes to increase their JavaScript skills.

Steven was the co-owner of Rapid Intake, an eLearning Authoring firm. While there he managed all development and professional service related activities. He was heavily involved in the initial development of Rapid Intake’s main product, which eventual lead to its acquisition in 2011. In addition to JavaScript, Steve has also dabbled in other web technolgies such as ActionScript, ASP, PHP, HTML, and CSS.