\begin{slide}{Aufgaben zu Refaktoring (I)}

\begin{itemize}
\item
  Code Smell Cheat Sheet (Joshua Keriewsky):
  \url{http://industriallogic.com/papers/smellstorefactorings.pdf}
\item

Smell-Beispiele 
\url{http://www.imn.htwk-leipzig.de/~waldmann/edu/ss05/case/rwb/}
(aus Refactoring Workbook von William C. Wake \url{http://www.xp123.com/rwb/})

ch6-properties, ch6-template, ch14-ttt
\end{itemize}

\end{slide}

\begin{slide}{Aufgaben zu Refaktoring (II)}

Refactoring-Unterstützung in Eclipse:

\begin{verbatim}
package simple;

public class Cube {
    static void main (String [] argv) {
        System.out.println (3.0 + " " + 6 * 3.0 * 3.0);
        System.out.println (5.5 + " " + 6 * 5.5 * 5.5);
    }
}
\end{verbatim}
extract local variable, extract method, add parameter, \dots

\end{slide}
