• 请不要在回答技术问题时复制粘贴 AI 生成的内容
zjsxwc
V2EX  ›  程序员

[设计模式]哪里用中间人模式最适合?

  •  
  •   zjsxwc ·
    zjsxwc · Feb 8, 2018 · 1674 views
    This topic created in 3019 days ago, the information mentioned may be changed or developed.

    感觉 mediator 拥有了所有 colleague 的能力(方法),这虽然对于每个 colleague 来说减轻了压力(不需要知道别的 colleague 有什么能力),但 mediator 是不是太臃肿了?

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3070 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 09:05 · PVG 17:05 · LAX 02:05 · JFK 05:05
    ♥ Do have faith in what you're doing.