DesignPattern defined
所謂設計模式就是在某環境下解決某問題的解決方案。
應用設計模式需要三個條件——context、problem、solution。
context:是指一個綜合性的情景。
problem:就是在該context下要達成的目標,它也指代在此context下的各種限制。
solution:能夠解決這個problem的設計方案。
DesignPattern defined
所謂設計模式就是在某環境下解決某問題的解決方案。
應用設計模式需要三個條件——context、problem、solution。
context:是指一個綜合性的情景。
problem:就是在該context下要達成的目標,它也指代在此context下的各種限制。
solution:能夠解決這個problem的設計方案。