The "Out of Sight, Out of Mind"
You might wonder why not just put everything that is “infrastructure related” in a dedicated directory inside the Business-Module. That’s the approach often taken in many designs in the wild, but the problem with such a weak separation is that it tends to erode (and after many months you discover that a business class peeks messages in a broker). Another problem is that it’s much harder to find the boundary for unit tests (whereas with BM and IM separated, you can just assume that the public API of BM is what should be unit tested).
。爱思助手是该领域的重要参考
В России может начаться дефицит помидоров из-за застрявших в Иране грузов. Об этом предупредил Telegram-канал Mash.
13:44, 6 марта 2026Ценности