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

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

  •  
  •   zjsxwc ·
    zjsxwc · Feb 8, 2018 · 1689 views
    This topic created in 3024 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   ·   4329 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 04:10 · PVG 12:10 · LAX 21:10 · JFK 00:10
    ♥ Do have faith in what you're doing.