Archive for the 'OOP' Category



Design Patterns: Elements of Reusable Object-Oriented Software

Originally published in 1995 by authors Eric Gamma, Richard Helm, Ralph Johnson, and John Vlissides, Design Patterns is probably the most world-changing and important text on Object-Oriented Programming written to date. The book was inspired by the idea of reusable design patterns that originated with Christopher Alexander’s book on architectural design, called A Pattern Language. The Gang-of-Four (GoF) book established a new lexicon for OOP based on their broad and extensive software design experience. [More…]

Simple JavaScript OOP Programming

JavaScript has a unique style for Object-Oriented Programming. The style is closer to the syntax of a functional language than a procedural language. The syntax is not difficult to learn, but it behaves completely unlike what you expect from a compiled language like Java or C++. Central to JavaScript OOP is the way that new functions may be attached to existing objects. Here are a few simple example of how a JavaScript object can be instantiated and manipulated. [More…]