Panasonic Youth rob sanheim writes about software, business, ruby, music, stuff and things



Posts Tagged Object Oriented

Logging in an abstract base class - violates good OO?

Scenario: you are starting a project and have created three classes that all do their own standard log setup, creating private static logs or whatever. Does creating an abstract base type with standard logging functionality violate YAGNI, the single responsiblity principle, or something else?
A couple immediate problems I can see with the […]


After →