P2: Programming 2 — Object-Oriented Design


Vorlesung für Haupt- und Nebenfachstudenten.

Course:Programming 2 (Spring Semester 2018)
Lecturers: Prof. Oscar Nierstrasz
Staff:Pooja Rani, Pascal André, Silas Berger, Yannik Dällenbach, Julius Oeftiger
Lectures: Fridays 14h15 - 16h00
Language: English (German on demand)
Location: Engehaldenstrasse 8, 001
Start: 2019-02-22
Exam: 2019-06-05 @ 10h15-12h00 in ExWi A6
Exercise hour:Fridays 16-17
Computer pool support:Tuesdays 16-18, in A95 (Exwi)
Repetition:Spring 2020


mvc.png This course provides an introduction to object-oriented design in Java with an emphasis on practical techniques for developing complex software systems.

Learning outcomes

You will learn:

  • how to apply Responsibility-Driven Design to decompose a complex system into objects
  • how to use Design by Contract to develop robust software
  • how to make use of inheritance to design flexible and generic software systems
  • how to apply iterative and incremental development and continuous refactoring to arrive at a clean and understandable design
  • how to effectively test software
  • how to develop maintainable code by consistently applying simple design principles
  • how to apply design patterns to simplify your software
  • how to develop software that communicates its own design
  • how to effectively use development tools like debuggers, version control systems, and integrated development environments?

Schedule 2019

Week Date Lecture
1 22-Feb-19 Introduction
2 01-Mar-19 OO Design Principles
3 08-Mar-19 Design by Contract
4 15-Mar-19 A Testing Framework
5 22-Mar-19 Debugging and Tools
6 29-Mar-19 Iterative Development
7 05-Apr-19 Inheritance and Refactoring
8 12-Apr-19 Advanced Design Lab
- 19-Apr-19 Good Friday
- 26-Apr-19 Spring break
9 03-May-19 GUI Construction
10 10-May-19 Guidelines, Idioms and Patterns
11 17-May-19 A bit of C++
12 24-May-19 A bit of Smalltalk
13 31-May-19 Software-Entwicklung in der Praxis (Stefan Reichhart, Zühlke)
05-Jun-19 Exam — ExWi A6 @ 10h00-12h00
Last changed by oscar on 6 June 2019