|
|
|
||
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.
Last update: T_KSI (04.05.2007)
|
|
||
To receive credit, the student has to attend the labs and submit assignments within given deadlines. Last update: Bulej Lubomír, doc. Ing., Ph.D. (06.10.2017)
|
|
||
1. McConnell, S.: Code Complete. Microsoft Press, 2nd edition, ISBN 978-0735619678, June 2004. 2. On-line zdroje ve formě článků a esejí k probíranému tématu. Last update: T_KSI (04.05.2007)
|
|
||
The final grade is determined by the sum of points from the assignments. Last update: Bulej Lubomír, doc. Ing., Ph.D. (06.10.2017)
|
|
||
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. Last update: Bulej Lubomír, doc. Ing., Ph.D. (16.01.2024)
|