cws/disclaimer.sty
author Christian Urban <urbanc@in.tum.de>
Sat, 16 Dec 2017 23:53:28 +0000
changeset 166 284a0f869e48
child 169 8a1bd8ddb96c
permissions -rw-r--r--
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
166
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
\newcommand{\IMPORTANT}{%
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     2
\noindent
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     3
\textbf{Important:}
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     4
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
\begin{itemize}
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     6
\item Make sure the files you submit can be processed by just calling\\
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     7
  \mbox{\texttt{scala <<filename.scala>>}} on the commandline.\footnote{All
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     8
    major OSes, including Windows, have a commandline. So there is no
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     9
    good reason to not download Scala, install it and run it on your
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    10
    own computer. Just do it!} Use the
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    11
  template files provided and do not make any changes to arguments of
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    12
  functions or to any types. You are free to implement any auxiliary
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    13
  function you might need.
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    14
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    15
\item Do not use any mutable data structures in your
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    16
submissions! They are not needed. This means you cannot create new 
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    17
\texttt{Array}s or \texttt{ListBuffer}s, for example. 
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    18
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    19
\item Do not use \texttt{return} in your code! It has a different
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    20
  meaning in Scala, than in Java.
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    21
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    22
\item Do not use \texttt{var}! This declares a mutable variable. Only
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    23
  use \texttt{val}!
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    24
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    25
\item Do not use any parallel collections! No \texttt{.par} therefore!
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    26
  Our testing and marking infrastructure is not set up for it.
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    27
\end{itemize}
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    28
}
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    29
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    30
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    31
\newcommand{\DISCLAIMER}{%
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    32
\subsection*{Disclaimer}
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    33
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    34
It should be understood that the work you submit represents
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    35
your \textbf{own} effort! You have not copied from anyone else. An
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    36
exception is the Scala code I showed during the lectures or
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    37
uploaded to KEATS, which you can freely use.\bigskip
284a0f869e48 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    38
}