A Concise Guide To JavaScript Objects
7 Things About JavaScript Objects summarized succinctly
7 Things About JavaScript Objects summarized succinctly
Back in September, I wrote this story [https://medium.com/madhash/how-variable-types-can-determine-the-life-or-death-of-cats-in-javascript-b1cd2f50a8b1] on var, let and the keyword this However, some people still found it hard to distinguish between the difference — or rather, they wanted something that was more visually accessible. So I decided to change the format a little...
Traditionally, structural patterns are described as the thing that helps simplify the process of object composition. Its purpose is to help identify the relationship between different objects, making sure that if something changes within the system, it doesn’t force the entire system to change with it. Let’s begin...
The bridge pattern is another ideological abstraction that keeps the boundaries of your code clean and separated. While it has similarities with the adapter pattern, it is not quite the exact same. The bridge pattern can be seen as an extension of the adapter pattern — or commonly known as the...
A composite pattern deals with the complexity of how objects are related to one another. According to the original definition, [a composite pattern] allows you to compose objects into tree structures to represent part-whole hierarchies Design Patterns: Elements of Reusable Object-Oriented Software (Addison-Wesley Professional Computing Series) But what does this...
The decorator pattern works by extending an object’s behavior without changing the original object itself. What exactly does this mean? Imagine that you’ve just bought yourself a new phone. However, carrying the phone around in its current form feels risky. What if you drop it? What if it...