cws/cw02.tex
changeset 152 114a89518aea
parent 150 9a2f2a1de42b
child 163 84917f2e16cd
equal deleted inserted replaced
151:c5ca7f8e21a5 152:114a89518aea
    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