“Black Hole” software anti-pattern

During digging into eCommerce5 codebase and discussing ongoing impressions with my colleague,  I just discovered a software design anti-pattern I called “Black Hole”.

As a workaround I declare a rule:

Any variables passed into constructor then should be available through a read-only property.

Honestly I haven’t invented the explanation yet.

This entry was posted in Programming and tagged . Bookmark the permalink.

2 Responses to “Black Hole” software anti-pattern

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.