4 ms·
Two of the three arguments are dynamic factories and one is slow startup (which very often is a situation for approving shortcuts aka hacks). So in summary: th
by oaiey 5y ago
Two of the three arguments are dynamic factories and one is slow startup (which very often is a situation for approving shortcuts aka hacks).
So in summary: the anti-pattern stands ;)
- myk9001 5y agoWell, I'd say, in summary: it depends :) Which is exactly the point of the post. The scenarios where SL is justified are rather specialized. But as the author points out, they still get pushback for using SL even in these scenarios, where using it is a very much reasonable decision. That something is an anti-pattern in most cases, doesn't mean we should just reflexively reject it ignoring the context of a particular task.
- oaiey 5y agoCompletely agree! That is the reason I also name the use cases. The general purpose pattern is bad, the specialized cases are not.