equal
deleted
inserted
replaced
22 |
22 |
23 \item Do not use \texttt{return} in your code! It has a different |
23 \item Do not use \texttt{return} in your code! It has a different |
24 meaning in Scala than in Java. It changes the meaning of your program, |
24 meaning in Scala than in Java. It changes the meaning of your program, |
25 and you should never use it. |
25 and you should never use it. |
26 |
26 |
27 \item Do not use \texttt{var}! This declares a mutable variable. Only |
27 \item Do not use \textbf{\texttt{var}}! This declares a mutable variable. Only |
28 use \texttt{val}! |
28 use \texttt{val}! |
29 |
29 |
30 \item Do not use any parallel collections! No \texttt{.par} therefore! |
30 \item Do not use any parallel collections! No \texttt{.par} therefore! |
31 Our testing and marking infrastructure is not set up for it. |
31 Our testing and marking infrastructure is not set up for it. |
32 \end{itemize} |
32 \end{itemize} |
94 \newcommand{\DISCLAIMER}{% |
94 \newcommand{\DISCLAIMER}{% |
95 \subsubsection*{Disclaimer\alert} |
95 \subsubsection*{Disclaimer\alert} |
96 |
96 |
97 It should be understood that the work you submit represents |
97 It should be understood that the work you submit represents |
98 your \textbf{own} effort! You have implemented the code entirely |
98 your \textbf{own} effort! You have implemented the code entirely |
99 on your own. You have not used any unauthorised aid (e.g.~Google). You have not copied from anyone else. An |
99 on your own. You have not copied from anyone else. |
100 exception is the Scala code I showed during the lectures or |
100 Do not be tempted to ask Github Copilot for help or |
101 uploaded to KEATS, which you can freely use.\bigskip |
101 do any other shenanigans like this! An exception is the Scala |
|
102 code I showed during the lectures or uploaded to KEATS, |
|
103 which you can freely use.\bigskip |
102 } |
104 } |
103 |
105 |
104 \newcommand{\DISCLAIMEREXAM}{% |
106 \newcommand{\DISCLAIMEREXAM}{% |
105 \subsubsection*{Disclaimer} |
107 \subsubsection*{Disclaimer} |
106 |
108 |