Plainionist Tales of a software craftsman's journey

Tag: design

  • Dynamic Decorators (15 Oct 2022)
    The decorator pattern is a powerful tool to add cross cutting concerns to types while maintaining SRP. Dynamic proxies like RealProxy and DispatchProxy can be used to generate such decorators dynamically.
  • Bulletproof thread collaboration? (03 Oct 2022)
    Multi threading is hard mostly because of shared mutable data structures used for thread collaboration. Messaging based designs using agents or actors are a proven approach to reduce the complexity introduced with concurrency.
  • Automating dependency governance in .NET (23 Sep 2022)
    Every software project requires some structure to manage complexity. Every structure implies rules which have to be followed to not break the structure. Every rule requires automatic governance to be effective. How can such automatic governance be set up in .Net projects?