Re:Software Design Patterns Are Not Goals, They Are Tools
by JustSomeNobody on Thursday May 19, 2016 @07:47AM
(#11729444)
I think the problem, however, is when your stack trace is too long for your scroll buffer, you've gone a little overboard.
Even if the functions you provide only loosely fit an established pattern it's still worth "adapting" with verbose notes about how it doesn't conform to said pattern.
Actually I would go so far as to say there is value in developing within a pattern even if you're not building an API, if you expect that a number of third parties may have to maintain or develop your code for years to come.
However, if you're working against problem domain that is well understood in your organisation (technically specialised, low level) it doesn't make sense to force a pattern upon it. It is reasonable to expect that third parties should know what's going on already.