updated
authorChristian Urban <urbanc@in.tum.de>
Thu, 10 Nov 2016 11:41:50 +0000
changeset 34 40424bbe109e
parent 33 b6cb302633eb
child 35 9fea5f751be4
child 36 f5ed0fef41b3
updated
progs/lecture1.scala
slides/slides01.pdf
slides/slides01.tex
--- a/progs/lecture1.scala	Thu Nov 10 10:40:05 2016 +0000
+++ b/progs/lecture1.scala	Thu Nov 10 11:41:50 2016 +0000
@@ -24,6 +24,8 @@
 lst(0)
 lst(2)
 
+// some alterative syntax for lists
+
 1::2::3::Nil
 List(1, 2, 3) ::: List(4, 5, 6)
 
@@ -74,13 +76,13 @@
 
 /* Scala is a strongly typed language
  
- * Base types
+ * some base types
 
     Int, Long, BigInt, Float, Double
     String, Char
     Boolean
 
- * Compound types 
+ * some compound types 
 
     List[Int],
     Set[Double]
Binary file slides/slides01.pdf has changed
--- a/slides/slides01.tex	Thu Nov 10 10:40:05 2016 +0000
+++ b/slides/slides01.tex	Thu Nov 10 11:41:50 2016 +0000
@@ -79,9 +79,13 @@
 \frametitle{Why Scala?}
 
 \begin{itemize}
-\item compiles to the JVM\\ (also JavaScript, native X86 in the works)\medskip
+\item compiles to the JVM\\
+  \textcolor{gray}{(also JavaScript, native X86 in the works)}\medskip
 \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})}
+  
 \item often one can write very concise and elegant code
 \end{itemize}\bigskip\medskip