Skip to content

Commit

Permalink
Fix structure
Browse files Browse the repository at this point in the history
  • Loading branch information
klieret committed Jan 11, 2021
1 parent c3ffa97 commit 8aa8e36
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions latex/input/patterns/intro.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
Slides + exercises available at \hhl{\href{https://github.com/klieret/icsc-paradigms-and-patterns}{github.com/klieret/icsc-paradigms-and-patterns}}
\end{frame}

\section{More on OOP}

\subsection{Repetition}

\begin{frame}[t]{Repetition: Object Oriented Programming}
\begin{itemize}[<+->]
\item \hhl{Inheritance:} Subclasses inherit all \srem{(public and protected)} attributes and methods of the base class
Expand All @@ -17,9 +21,6 @@
}
\end{frame}


\section{More on OOP}

\subsection{Class Diagrams}

\begin{frame}{Class diagrams I}
Expand Down Expand Up @@ -120,7 +121,7 @@ \subsection{The SOLID rules of OOP}
\item<4-> Requires thinking ahead: What parts have to be flexible, what remains constant?
\item<4-> Again a \hhl{balance} is required:
\begin{itemize}
\item Be \hhl{too generic} (avoid modifications) and your code won't do anything
\item Be \hhl{too generic} \srem{(avoid future modifications at any cost)} and your code won't do anything
\item Be \hhl{too concrete} and you will need to modify \srem{(and potentially break things)} often
\end{itemize}
\end{itemize}
Expand Down
2 changes: 1 addition & 1 deletion latex/software_patterns.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
\newif\ifhandout
\newif\ifexamples
\handouttrue
\handoutfalse
\examplestrue
%
\input{header/general.tex}
Expand Down

0 comments on commit 8aa8e36

Please sign in to comment.