cws/cw02.tex
changeset 152 16dbc95d7d77
parent 150 19856bd9ec2d
child 163 133455177b7e
equal deleted inserted replaced
151:a1518a92469f 152:16dbc95d7d77
    30 
    30 
    31 \begin{itemize}
    31 \begin{itemize}
    32 \item Make sure the files you submit can be processed by just calling\\
    32 \item Make sure the files you submit can be processed by just calling\\
    33 \mbox{\texttt{scala <<filename.scala>>}} on the commandline.
    33 \mbox{\texttt{scala <<filename.scala>>}} on the commandline.
    34 
    34 
    35 %\item If you use \textbf{offending} words, like \texttt{var} or
       
    36 %  \texttt{return}, in comments, please write them as \texttt{vvar},
       
    37 %  \texttt{Var}, \texttt{rreturn}, \texttt{Return} or anything 
       
    38   
       
    39 \item Do not use any mutable data structures in your
    35 \item Do not use any mutable data structures in your
    40 submissions! They are not needed. This means you cannot use 
    36 submissions! They are not needed. This means you cannot create new 
    41 \texttt{ListBuffer}s, for example. 
    37 \texttt{Array}s or \texttt{ListBuffer}s, for example. 
    42 
    38 
    43 \item Do not use \texttt{return} in your code! It has a different
    39 \item Do not use \texttt{return} in your code! It has a different
    44   meaning in Scala, than in Java.
    40   meaning in Scala, than in Java.
    45 
    41 
    46 \item Do not use \texttt{var}! This declares a mutable variable. Only
    42 \item Do not use \texttt{var}! This declares a mutable variable. Only