物件導向設計的五原則SOLID. 1.1 單一職責原則(Single responsibility principle, SRP). 每個物件,不管是類別、函數,負責的功能,都應該只做一件事。
確定! 回上一頁