diff -r bc3980949af2 -r d1046d9d3213 slides/slides01.tex --- a/slides/slides01.tex Sun Nov 08 13:09:38 2020 +0000 +++ b/slides/slides01.tex Mon Nov 09 14:34:12 2020 +0000 @@ -605,46 +605,66 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\begin{frame}[c] - \frametitle{Coursework Dates} +\begin{frame}[c, fragile] + +{\Large Why bother? or\smallskip\\\hfill What is wrong with this?}\bigskip\bigskip + -Similar to C++:\bigskip +\begin{lstlisting}[language=C,numbers=none] +for (int i = 10; i < 20; i++) { + + //...Do something interesting + // with i... + +} +\end{lstlisting} + + +\end{frame} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + -\begin{itemize} - \item Preliminary Parts: Wednesdays 4pm - \begin{itemize} - \item Preliminary Part 6: 3\% (13 November) - \item Preliminary Part 7: 4\% (20 November) - \item Preliminary Part 8: 4\% (27 November) - \item Preliminary Part 9: 4\% (5 December) - \end{itemize}\medskip - \item Core Part: 35\% (15 January 2020)\bigskip -\end{itemize} -\end{frame} - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%\begin{frame}[c] +% \frametitle{Coursework Dates} +% +%Similar to C++:\bigskip +% +%\begin{itemize} +% \item Preliminary Parts: Wednesdays 4pm +% \begin{itemize} +% \item Preliminary Part 6: 3\% (13 November) +% \item Preliminary Part 7: 4\% (20 November) +% \item Preliminary Part 8: 4\% (27 November) +% \item Preliminary Part 9: 4\% (5 December) +% \end{itemize}\medskip +% \item Core Part: 35\% (15 January 2020)\bigskip +%\end{itemize} +%\end{frame} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\begin{frame}[c] -\frametitle{Coursework} - -\begin{itemize} -\item Sorry, I might have been a bit wordy:\\ - Part 6 of CW description is 7 pages, but - I only needed \mbox{< 100} loc for \emph{all} Part 6.\bigskip - -\item there is feedback when pushing code to github\medskip - -\item there are \texttt{jar}-files you can use to test - my reference implementation\bigskip - -\item we want you to learn FP!\smallskip\\ \alert{\bf no vars}, no mutable - data-structures\\ \quad{}e.g.~no \texttt{Arrays}, no \texttt{ListBuffer} -\end{itemize} - -\LEFTarrow{1}{11}{11.8} -\end{frame} +%\begin{frame}[c] +%\frametitle{Coursework} +% +%\begin{itemize} +%\item Sorry, I might have been a bit wordy:\\ +% Part 6 of CW description is 7 pages, but +% I only needed \mbox{< 100} loc for \emph{all} Part 6.\bigskip +% +%\item there is feedback when pushing code to github\medskip +% +%\item there are \texttt{jar}-files you can use to test +% my reference implementation\bigskip +% +%\item we want you to learn FP!\smallskip\\ \alert{\bf no vars}, no mutable +% data-structures\\ \quad{}e.g.~no \texttt{Arrays}, no \texttt{ListBuffer} +%\end{itemize} +% +%\LEFTarrow{1}{11}{11.8} +%\end{frame} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -849,34 +869,34 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\begin{frame}[c] -\frametitle{\begin{tabular}{c}\\[0cm]\alert{Questions?}\end{tabular}} - -\begin{center} - \begin{tabular}[t]{@{}l@{}l@{}} - \includegraphics[scale=0.1]{../pics/mand4.png} & \hspace{4mm} - \raisebox{0mm}{\includegraphics[scale=0.1]{../pics/mand3.png}} - \end{tabular} -\end{center} - -\begin{center} - My Office Hours: Thursdays 12 -- 14\\ - And specifically for Scala: Tuesdays 10:45 -- 11:45 -\end{center} -\end{frame} +%\begin{frame}[c] +%\frametitle{\begin{tabular}{c}\\[0cm]\alert{Questions?}\end{tabular}} +% +%\begin{center} +% \begin{tabular}[t]{@{}l@{}l@{}} +% \includegraphics[scale=0.1]{../pics/mand4.png} & \hspace{4mm} +% \raisebox{0mm}{\includegraphics[scale=0.1]{../pics/mand3.png}} +% \end{tabular} +%\end{center} +% +%\begin{center} +% My Office Hours: Thursdays 12 -- 14\\ +% And specifically for Scala: Tuesdays 10:45 -- 11:45 +%\end{center} +%\end{frame} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\begin{frame}[t] - -\begin{center} -\includegraphics[scale=0.4]{../pics/blow.png} -\end{center} - -\begin{textblock}{14}(2,12.4) -\Large\bf{}Mind-Blowing\\ Programming Languages: C/C++ -\end{textblock} -\end{frame} +%\begin{frame}[t]% +% +%\begin{center} +%\includegraphics[scale=0.4]{../pics/blow.png} +%\end{center} +% +%\begin{textblock}{14}(2,12.4) +%\Large\bf{}Mind-Blowing\\ Programming Languages: C/C++ +%\end{textblock} +%\end{frame} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%