Forget Defensive Programming: Make Illegal States ImpossibleStop sprinkling if-guards and start encoding your domain’s rules directly in the types. Why “Defensive Programming” Is a Leaky Shield When you wrap every public method in if-then checks, you’re treating symptoms, not the disease. Defensive guards: R...5 min read·codecraftspro.hashnode.devApr 23, 2025
What to Open, What to Close: A Pragmatic Guide to Interface DesignDesign adaptable interfaces with a guide on patterns, strategies, and examples. Perfect for backend engineers and architects2 min read·codecraftspro.hashnode.devApr 21, 2025
Stop the Cascade: How to Design Interfaces That Survive ChangeLearn how to design software interfaces that adapt to change and handle the expression problem effectively in your code3 min read·codecraftspro.hashnode.devApr 21, 2025
Evolving in Two Dimensions: Interface Strategies for Real‑World Software(Expression Problem, Part 2)Discover interface strategies to handle variant and behaviour volatility in software, with patterns like visitors, decorators, and registries4 min read·codecraftspro.hashnode.devApr 21, 2025
Stop Confusing Layers of Abstraction with Separation of ConcernsLearn abstraction vs. separation of concerns in software design to optimize modular systems with hierarchical structures3 min read·codecraftspro.hashnode.devApr 18, 2025