equal
deleted
inserted
replaced
15 \item Do not use any mutable data structures in your |
15 \item Do not use any mutable data structures in your |
16 submissions! They are not needed. This means you cannot create new |
16 submissions! They are not needed. This means you cannot create new |
17 \texttt{Array}s or \texttt{ListBuffer}s, for example. |
17 \texttt{Array}s or \texttt{ListBuffer}s, for example. |
18 |
18 |
19 \item Do not use \texttt{return} in your code! It has a different |
19 \item Do not use \texttt{return} in your code! It has a different |
20 meaning in Scala, than in Java. |
20 meaning in Scala than in Java. |
21 |
21 |
22 \item Do not use \texttt{var}! This declares a mutable variable. Only |
22 \item Do not use \texttt{var}! This declares a mutable variable. Only |
23 use \texttt{val}! |
23 use \texttt{val}! |
24 |
24 |
25 \item Do not use any parallel collections! No \texttt{.par} therefore! |
25 \item Do not use any parallel collections! No \texttt{.par} therefore! |