Software construction and development, essential and accidental complexity.
Interface (API) design, guiding principles, designing API classes and methods.
Class design guidelines, abstraction and encapsulation, inheritance and composition, polymorphism, immutability.
Basic object-oriented design principles (Single responsibility principle, Open-closed principle, Liskov substitution principle, Interface segregation principle, Dependency inversion principle).
Unit testing, testable design.
Design principles in design patterns (strategy, observer, decorator, factory).
Method design guidelines, method as an abstraction, purpose and cohesion, naming and length, input parameters and return values, using exceptions.
Defensive programming, checking inputs, using assertions, error handling.
Guidelines for using variables and constants, naming conventions, fundamental data types.
Structured programming primitives, organization of code, refactoring.
Layout and style, documentation.
Programming is not just about writing a working program. The quality of a program is (besides design and other functional characteristics) associated with a number of characteristics unrelated to the function of a program.
The subject introduces students into programming practices adhering to which leads to construction of high-quality programs. The goal of the subject is to motivate students for adopting such techniques for use in their own programming practice.