VirtualTam's bookmarks

    • Check project import paths and compare with architechure rules defined in a configuration file
    • Useful for hexagonal / onion / DDD / MVC and other architectural patterns
  1. The conflict between subclassing and composition is as old as object-oriented programming. The latest crop of languages like Go or Rust prove that you don’t need subclassing to successfully write code. But what’s a pragmatic approach to subclassing in Python, specifically?

  2. A class or other object knows too much or does too much, and is therefore difficult to test or change