Hacker News new | ask | show | jobs
by _ZeD_ 2100 days ago
just to be sure, can't this problem be handled in OOP with a "trivial" class (or object) field?
1 comments

Technically it's possible but AFAIK people don't normally extend e.g. every business object with a logger field or an output stream? In fact that's usually a very bad pattern, something akin to a "god object".