What's a Method in JavaScript?
Explains what methods are in JavaScript, how to define them in objects and classes, and how to invoke them.
Explains what methods are in JavaScript, how to define them in objects and classes, and how to invoke them.
Explains the concept of Dependency Injection in programming, using a simple web server example to illustrate how to inject functionalities.
A developer's personal wishlist for improving PHP's design, focusing on stricter defaults like final classes and required type declarations.
Explores the historical origins of Object-Oriented Programming, tracing its roots from Sketchpad and Simula to Alan Kay's definition.
Explains the concept of prototypal inheritance in JavaScript, covering prototypes, own vs. inherited properties, and practical examples.
Explains SOLID design principles to write maintainable OOP code and avoid common anti-patterns (STUPID code) that harm software quality.
A simplified explanation of Object-Oriented Programming (OOP) concepts like classes, objects, abstraction, encapsulation, inheritance, and polymorphism using real-world analogies.
Explains JavaScript's prototype-based inheritance and how the prototype chain works for object property and method lookup.
Explains how to implement custom collection-like objects in Python using the collections protocol, including slicing, iteration, and item access.
A detailed guide explaining the 'this' keyword in JavaScript, covering its behavior, common misconceptions, and how its reference is determined.
Explores Python's object-oriented programming basics, including object creation, initialization, and representation protocols like __init__, __new__, __del__, __repr__, and __str__.
Explains the Interface Segregation Principle (ISP) from SOLID, demonstrating its application in JavaScript and TypeScript with code examples.
Explains the Liskov Substitution Principle (LSP) in SOLID, demonstrating correct and incorrect implementations in JavaScript/TypeScript with class examples.
Explains the Single Responsibility Principle (SRP) in JavaScript with code examples, part of a series on SOLID design principles.
Explains how to restrict attribute assignment in Python classes to prevent typos and enforce defined attributes, using a real-world example.
A programmer reflects on a decade of experience, sharing highly opinionated insights on object-oriented programming and software design paradigms.
A comprehensive guide to JavaScript classes, covering syntax, fields, methods, inheritance, and how they work with prototypal inheritance.
A guide to understanding and correctly using the 'this' keyword in JavaScript, covering common pitfalls and binding techniques.
A podcast episode exploring the original definition of Object-Oriented Programming and comparing it to modern interpretations.
A podcast episode discussing how using 'final' in code can improve maintainability, part of a series on SOLID principles and interfaces.