Don't be clever
A developer reflects on over-engineering a CRUD controller, learning that clever abstractions can create unmaintainable code.
A developer reflects on over-engineering a CRUD controller, learning that clever abstractions can create unmaintainable code.
A tutorial on implementing the Compound Components pattern in React, using a Tabs component as a practical example.
Explores essential design patterns for building efficient and maintainable machine learning systems in production, focusing on data pipelines and best practices.
Explains the Humble Object design pattern for separating hard-to-test dependencies from core logic to improve unit testing in software development.
Explains the Repository design pattern in C#/.NET, covering its purpose, basic implementation, benefits, and potential drawbacks.
A tutorial on implementing an abstract, driver-based service factory design pattern for the Vapor framework in Swift.
Explains software design patterns like Mediator, Strategy, Singleton, and Proxy using simple sketches and real-world analogies.
Explores architect Christopher Alexander's design philosophy and its profound, often misunderstood, application to software development and programming patterns.
Explores the application of classic software design patterns, like the Factory pattern, to machine learning code and systems, using examples from PyTorch, Gensim, and Hugging Face.
Explains the Visitor design pattern in Swift with code examples, showing how to add functionality to objects without modifying their original code.
A deep dive into the Strategy Pattern in programming, exploring its implementation, extensibility, and potential pitfalls with practical code examples.
Explains the Decorator Pattern in C# using a cached repository example to add behavior dynamically without subclassing.
A guide to the 'Wrapped State Setter' pattern in React for extending setState functionality, like automatic localStorage persistence.
Explains JavaScript factory functions, their use in creating objects, and how they can replace classes with private state via closures.
A guide to implementing a type-safe, feature-rich alternative to C#'s built-in enum, addressing its common shortcomings.
Explores Creational Design Patterns in C#, focusing on the Factory and Fluent Builder patterns with practical code examples.
Argues that Java's pattern switches are a simpler, more modern alternative to the traditional Visitor design pattern for separating operations from object structures.
Explores event sourcing as a pattern for software development, challenging the notion it's only for large-scale projects and discussing its core concepts.
Explains the Facade design pattern in JavaScript, focusing on managing dependencies and simplifying complex APIs for better code maintainability.
Analyzes the relevance of the visitor design pattern in modern programming, comparing it to alternatives like dynamic_cast and discussing its core use case.