JavaScript continues to be a language of choice for programmers who want to create applications that work regardless of the platform. Yet elements of the language still remain a mystery even to ...
Whereas Java and several other programming languages have a wide and rich range of datatypes and collections types, JavaScript only has a small number of primitive datatypes (Boolean, Number, String, ...
Can you explain object-oriented programming to me like I'm 5 years old? Probably not. But here's a straightforward explanation of what OOP is ...
If you've used a more traditional object-oriented language, such as C++ or Java, JavaScript probably doesn't seem object-oriented at all. It has no concept of classes, and you don't even need to ...
The defining characteristic of a really good programmer is laziness. That doesn’t mean stupid or ignorant, though. The really good lazy programmer doesn’t write (then need to debug and test) 100 lines ...
Committing to a programming paradigm is an important step in any application development effort. While they are hardly the only two options when it comes to overarching development models, the choice ...
Object-oriented JavaScript can mean different things to different people. In this case the approach is to treat JavaScript as a language in its own right rather trying to make it fit in with the way ...
It is especially annoying in callbacks: I would expect that this would be part of the function context as any other closure, but no: this points to the DOM node where the callback is running. It can ...