ProjectXyz: Enforcing Interfaces (Part 2)
Consider a C# pattern that hides constructors behind static factory methods returning interfaces, plus tradeoffs discovered while applying it in practice.
Broad software engineering guidance spanning architecture decisions, monolith versus microservices tradeoffs, programming practices, and game development.
Showing 133–138 of 150 articles
Consider a C# pattern that hides constructors behind static factory methods returning interfaces, plus tradeoffs discovered while applying it in practice.
Discover why this developer started ProjectXyz, a hobby RPG backend project built to explore LINQ, dependency injection, TDD, and API design.
Discover MyoSharp, an open source C# library wrapping the Myo armband SDK with PInvoke, adding pose sequences, held poses, and roll, pitch, and yaw data.
Learn how refactoring HTTP and FTP calls behind interfaces, factories, and instrumented mocks made a hardware-dependent C# project finally unit testable.
See how to run Python scripts from a C# WinForms app with IronPython, capturing console output in a TextBox using a custom stream wrapper and error handling.
Read the third Code Smells installment covering exception driven control flow and bloated object hierarchies, plus practical refactoring takeaways.