When NOT to use Object-Oriented Programming (OOP)Consider alternatives to OOP for tasks without state needs. Use namespaces or static classes for simple transformations or side-effects4 min read·random-programming-insights.hashnode.devJan 7
Treat Special cases explicitly but uniformlyLearn how to design a robust Range type by moving beyond nullable values and boolean flags.7 min read·random-programming-insights.hashnode.devDec 12, 2025
Making Illegal States Unrepresentable: Type-Driven Domain ModelingExplore type-driven domain modeling to reduce runtime errors by making illegal states unrepresentable, ensuring compile-time safety and clearer code6 min read·random-programming-insights.hashnode.devNov 22, 2025
How Rust and C++ Standard Libraries Handle Return Values: Position vs. ReferenceHow Rust and C++ Approach Binary Search4 min read·random-programming-insights.hashnode.devNov 9, 2025