cws/cw01.tex
changeset 152 16dbc95d7d77
parent 142 cd6263c3f3fc
child 166 284a0f869e48
equal deleted inserted replaced
151:a1518a92469f 152:16dbc95d7d77
    19 \begin{itemize}
    19 \begin{itemize}
    20 \item Make sure the files you submit can be processed by just calling\\
    20 \item Make sure the files you submit can be processed by just calling\\
    21 \mbox{\texttt{scala <<filename.scala>>}} on the commandline.
    21 \mbox{\texttt{scala <<filename.scala>>}} on the commandline.
    22 
    22 
    23 \item Do not use any mutable data structures in your
    23 \item Do not use any mutable data structures in your
    24 submissions! They are not needed. This means you cannot use 
    24 submissions! They are not needed. This means you cannot create new 
    25 \texttt{ListBuffer}s, for example. 
    25 \texttt{Array}s or \texttt{ListBuffer}s, for example. 
    26 
    26 
    27 \item Do not use \texttt{return} in your code! It has a different
    27 \item Do not use \texttt{return} in your code! It has a different
    28   meaning in Scala, than in Java.
    28   meaning in Scala, than in Java.
    29 
    29 
    30 \item Do not use \texttt{var}! This declares a mutable variable. Only
    30 \item Do not use \texttt{var}! This declares a mutable variable. Only