diff -r d59c7995bcb2 -r 54befaf23648 slides/slides01.tex --- a/slides/slides01.tex Wed Nov 07 12:08:01 2018 +0000 +++ b/slides/slides01.tex Thu Nov 08 23:42:03 2018 +0000 @@ -28,7 +28,7 @@ \frametitle{% \begin{tabular}{@ {}c@ {}} \\[5mm] - \huge PEP Scala (\liningnums{1}) + \hspace{7mm}\huge PEP Scala (\liningnums{1}) \end{tabular}} \normalsize @@ -37,14 +37,18 @@ Email: & christian.urban at kcl.ac.uk\\ Office: & N\liningnums{7.07} (North Wing, Bush House)\\ Slides \& Code: & KEATS\medskip\\ - Scala Office & \\ - Hours: & Mondays 12:00 -- 14:00\\ + Office Hours: & Mondays 12:00 -- 14:00\\ + & \alert{except next week: Tuesday} \end{tabular} \end{center} - \tiny - developed since 2004 bvy Martin Odersky - picture about assignments + %\tiny + %developed since 2004 bv Martin Odersky + %picture about assignments + +\begin{textblock}{6}(0.5,0.5) +\includegraphics[scale=0.035]{../pics/assign.jpg}\\[-1mm] +\end{textblock} \end{frame} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -75,20 +79,29 @@ \end{tabular} \end{textblock} + +\begin{textblock}{6}(2,12) +\begin{bubble}[9cm] + \small + developed since 2004 by Martin Odersky\\ + (he was behind Generic Scala which was included in Java 5) +\end{bubble} +\end{textblock} + \end{frame} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\begin{frame}[c] -\frametitle{Why Scala?} - -In the last few years there is a ``Cambrian explosion'' of -languages from both academia and industry. - -It is essential for students to have skills to pick up new languages -quickly. - -\end{frame} +%\begin{frame}[c] +%\frametitle{Why Scala?} +% +%In the last few years there is a ``Cambrian explosion'' of +%languages from both academia and industry. +% +%It is essential for students to have skills to pick up new languages +%quickly. +% +%\end{frame} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -102,7 +115,7 @@ \item integrates seamlessly with Java\medskip \item combines \underline{\bf functional} and {\bf object-oriented} programming\bigskip \item it is a bit on the ``mathematical'' side\\ - \textcolor{gray}{(no pointers, no \texttt{null})} + \textcolor{gray}{(no pointers, no \texttt{null}, but expressions)} \item often one can write very concise and elegant code \end{itemize}\bigskip\medskip @@ -138,13 +151,13 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\begin{frame}[c] -\frametitle{Scala (imperative) vs Scala (functional)} - -Reham's example - - -\end{frame} +%\begin{frame}[c] +%\frametitle{Scala (imperative) vs Scala (functional)} +% +%Reham's example +% +% +%\end{frame} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -154,10 +167,13 @@ \frametitle{First Steps: Scala Tools} \begin{itemize} +\item I use VS Code and a Scala extension +\begin{center} +\includegraphics[scale=0.10]{../pics/vscode.png}\\[-10mm]\mbox{} +\end{center}\bigskip + \item there is a plugin for Eclipse (called Scala IDE)\medskip \item there is also a plugin for IntelliJ\medskip -\item there is a worksheet mode in Eclipse and IntelliJ\bigskip -\item I use Sublime or venerable Emacs ;o) \end{itemize} \end{frame}