Audio & Video
Zitieren …

Softwaretechnik II, WS 2015/2016, gehalten am 18.01.2016, Vorlesung 21

Diese Audio- bzw. Video-Datei ist urheberrechtlich geschützt. Der Zugriff ist nur über Rechner des Karlsruher Instituts für Technologie (KIT) erlaubt.

Abstract

21: Vorlesung |

0:00:00 Starten

0:00:47 Hinweise für die Klausur

0:02:29 Overview on Today's Lecture

0:05:17 Motivation I

0:09:49 Motivation II

0:13:15 Foundations for this Lecture

0:13:42 What is ""Clean Code""?

0:17:22 Object-Oriented Design (OOD)

0:18:54 The Five SOLID Principles

0:20:04 SOLID1: Single Responsibility Principle (SRP)

0:26:15 Single Responsibility & Interface Segregation

0:29:14 Insertion: Command-Query-Separation

0:34:57 SOLID2: Open Closed Principle (OCP)

0:38:16 SOLID3: Liskov Substitution Principle (LSP)

0:47:23 SOLID4: Interface Segregation Principle (ISP)

0:49:26 Example: Human vs. Robot Workers

0:51:41 SOLID5: Dependency Inversion Principle (DIP)

0:55:02 Why ""Inversion""?

0:57:05 Law of Demeter (""Don't talk to strangers"")

1:01:05 Boy Scout Rule

1:04:08 Principle Of Least Surprise

1:09:15 Code Conventions: Naming

1:17:17 Code Conventions: Commenting

1:18:52 Code Conventions: Commenting II

1:22:47 Code Conventions: Formatting

1:23:44 Don't Repeat Yourself (DRY)

1:25:28 Keep It Simple, Stupid (KISS)

1:27:01 You Ain't Gonna Need It (YAGNI)

1:27:28 Single Level of Abstraction (SLA)

1:29:45 SLA Example

1:31:13 Refactoring