Stupidity

misc

In some -older- javascript code I found the following today:

Within 4 lines the author manages to look not so smart himself: the regular expression to find the Internet Explorer version assumes that it remains in the single digits.

With Internet Explorer 10 the match starts failing. The code that follows has no idea how to deal with that.

In German a person who is not the brightest is sometimes been titled as ‘can not count to ten’ (“Kann nicht bis Zehn zählen,”)