Why is JavaScript designed the way it is?


JavaScript is the programing language that makes the Web alive by integrating the HTML pages with client-side JavaScript code. Considering all the Web, I would expect that it contains billions of lines of JavaScript code. In addition, billions of people browse the Web every day. Therefore, designing and maintaining this language is an extremely critical undertaking. It pretty much determines the amount of effort and money required to develop dynamic Web pages. Continue reading

Most Popular Programming Languages in a Meaningful and Reasonable Way

Many people are curious to know what the most popular programming languages are in the sense that they are being actively used to write code. This is usually done annually. If look this up in your favorite search engine you will probably find many lists or charts. Among the most prestigious websites that produce charts of the most popular programming languages is IEEE Spectrum. Their list for 2016 can be found here.

While they use many sources to reasonably sort languages by popularity, the list of languages they show is not really meaningful. Continue reading

And Mix

Once upon a time, I was reading mysterious lecture notes about algorithms. And then, a wild sentence appeared:

Wouldn’t the sentence “I want to put a hyphen between the words Fish and And and And and Chips in my Fish-And-Chips sign.” have been clearer if quotation marks had been placed before Fish, and between Fish and and, and and and And, and And and and, and and and And, and And and and, and and and Chips, as well as after Chips? Source: Martin Gardner, Aha! Insight (1978).

My first response was: yest it would!

However… Continue reading