A tag for questions related to the design of any aspect of programming languages.
The code: function updateDashboardData() { $.getJSON("includes/system/ajaxDataInterface.php", {recordcount:1}, function(data) { $('.stationContainer').each(function(data) { var bsID = $(this).…
javascript language-designWhy don't more mainstream statically typed languages support function/method overloading by return type? I can't think of any that …
programming-languages language-design overloading function-callsI was working with a new C++ developer a while back when he asked the question: "Why can't variable names …
c++ variables programming-languages language-design variable-namesI just came across an interesting situation in JavaScript. I have a class with a method that defines several objects …
javascript language-features language-designPossible Duplicate: Why is Java's Iterator not an Iterable? Idiomatic way to use for-each loop given an iterator? Can we …
java syntax iterator language-design iterableAre there any Ruby / Python features that are blocking implementation of optimizations (e.g. inline caching) V8 engine has? Python …
javascript python ruby performance language-designI know that multiple inheritance is not allowed in Java and C#. Many books just say, multiple inheritance is not …
c# java language-design multiple-inheritanceSo I finally stopped dragging my feet all these years and decided to learn JavaScript "properly". One of the most …
javascript oop inheritance language-design prototype-programmingIn C# and in Java (and possibly other languages as well), variables declared in a "try" block are not in …
c# java exception scope language-designGiven a simple switch statement switch (int) { case 1 : { printf("1\n"); break; } case 2 : { printf("2\n"); } case 3 : { printf("3\n"); } } The absence of …
c language-design