Some Notes from a discussion of encapsulation in JavaScript The topic of encapsulation in JavaScript came up in our bi-weekly technologists group recently. First question was, what is encapsulation and why is it a good thing. The first obvious benefit…
Category: JavaScript
Custom exception handling in JavaScript
A co-worker showed me a neat trick today. Many of you have no doubt seen it, but I thought I would use it in a discussion about custom exception handling in JavaScript. I was buried in some Java Coding, so…
Understanding Prototypal Inheritance in JavaScript | LakTEK
A good basic description of the Prototypal Inheritance in JavaScript: Understanding Prototypal Inheritance in JavaScript 02 February 2011 Behavior reuse is one of the key aspects of Object Oriented programming. Many mainstream Object Oriented languages, achieves behavior reuse by using…