Leveraging The Super Keyword In Custom Elements
Explains the correct usage of the 'super' keyword in JavaScript custom elements, clarifying common misconceptions about constructor calls and inheritance.
Explains the correct usage of the 'super' keyword in JavaScript custom elements, clarifying common misconceptions about constructor calls and inheritance.
A guide to implementing tag inheritance in Azure Bicep using modules and the union function for dynamic tag management.
A developer's critique of inheritance misuse in OOP, comparing abstract classes vs. interfaces and advocating for better design patterns.
Explores two types of composition in programming: function (nesting) composition and object (merging) composition, with practical examples.
Discusses the conceptual problem of inheritance in object-oriented programming for statistical methods, using R's lm and glm classes as examples.
Explores the Liskov Substitution Principle using the classic 'Is a square a rectangle?' example in object-oriented programming.
Explains the difference between abstract classes and interfaces in C# using real-world analogies like animals and ATMs.
A pragmatic analysis of when to use subclassing vs. composition in Python, exploring three distinct types of inheritance.
A developer's personal wishlist for improving PHP's design, focusing on stricter defaults like final classes and required type declarations.
A developer's first week at Recurse Center, focusing on pair programming, analyzing PHPUnit's codebase, and planning a web-based command prompt project.
Explains the concept of prototypal inheritance in JavaScript, covering prototypes, own vs. inherited properties, and practical examples.
Explains the concept of JavaScript prototypes, how they work, and their role in object-oriented programming and property lookup.
Explains the difference between own properties defined directly on an object and inherited properties from the prototype in JavaScript.
Explains JavaScript's prototype-based inheritance and how the prototype chain works for object property and method lookup.
Explains the JavaScript Object.create() method, detailing how it creates new objects using an existing object as a prototype.
An exploration of the Liskov Substitution Principle (LSP) and its critical role in ensuring type safety in object-oriented programming and inheritance.
A critique of Java's Stack class design, showing how inheritance from Vector breaks encapsulation and leads to non-stack operations being exposed.
Explains the constructor property in JavaScript, its role in inheritance, and how to use it for type checking and class identification.
A collection of practical programming wisdom covering code design, testing, dependencies, and development processes for better software engineering.
An in-depth exploration of Python's advanced features, quirks, and common pitfalls for experienced developers.