Tips (desigh pattern)

notes

  • decorator pattern: 不改變介面,但加入責任
  • adapter pattern: 將一個介面轉成另一個介面
  • facade pattern: 讓介面更簡化
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License