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