Showing related tags and posts accross the entire site.
-
Oriģinālliteratūra: “ Principle refers to a specific form of decoupling where conventional dependency relationships established from high-level, policy-setting modules to low-level, dependency modules are inverted (i.e. reversed) for the purpose of rendering high-level modules independent of the...
-
Oriģinālliteratūra: “ The Interface Segregation Principle (ISP) states that clients should not be forced to depend on methods they do not use. ” Šo principu ir pavisam vienkārši interpretēt un viegli ievērot: klientam, kas lieto komponenti, kuras autori esam mēs, nedrīkstam...
-
Orģinālliteratūra: Liskov Substitution Principle (LSP) states that subtypes must be substitutable for their base types. “L” burts patiesībā nāk no šī programmatūras dizaina principa autores – Barbara Liskov! Nez kāpēc, bet man pēc nosaukuma šķiet, ka autoram bija jābūt...
-
Zinātniskā literatūra Open/Closed Principle raksturo šādi: The Open/Closed Principle states that software entities (classes, modules, functions, etc.) should be open for extensions, but closed for modification. Tātad par ko šis princips mums liek domāt? Sistēmas uzbūve un koda konstrukcijas...
-
“S” apzīmē - The Single Responsibility Principle (SRP) . The S ingle Responsibility Principle states that every object should have a single responsibility, and that responsibility should be entirely encapsulated by the class. Tātad šis pagalvojums definē to, ka klasei ir ieteicams...