updated
authorChristian Urban <christian.urban@kcl.ac.uk>
Sun, 01 May 2022 12:41:56 +0100
changeset 425 957808dcb367
parent 424 daf561a83ba6
child 426 b51467741af2
updated
cws/main_cw03.pdf
cws/main_cw03.tex
progs/mandelbrot3.sc
Binary file cws/main_cw03.pdf has changed
--- a/cws/main_cw03.tex	Mon Apr 11 23:55:27 2022 +0100
+++ b/cws/main_cw03.tex	Sun May 01 12:41:56 2022 +0100
@@ -121,11 +121,8 @@
   
 \section*{Main Part 3 (Scala, 6 Marks)}
 
-%\mbox{}\hfill\textit{``[Google’s MapReduce] abstraction is inspired by the}\\
-%\mbox{}\hfill\textit{map and reduce primitives present in Lisp and many}\\
-%\mbox{}\hfill\textit{other functional language.''}\smallskip\\
-%\mbox{}\hfill\textit{ --- Dean and Ghemawat, who designed this concept at Google}
-%\bigskip\medskip
+\mbox{}\hfill\textit{``Java is the most distressing thing to happen to computing since MS-DOS.''}\smallskip\\
+\mbox{}\hfill\textit{ --- Alan Kay, the inventor of object-oriented programming}\bigskip\medskip
 
 \noindent
 This part is about a regular expression matcher described by
--- a/progs/mandelbrot3.sc	Mon Apr 11 23:55:27 2022 +0100
+++ b/progs/mandelbrot3.sc	Sun May 01 12:41:56 2022 +0100
@@ -21,9 +21,9 @@
 import scala.language.implicitConversions    
 import scala.collection.parallel.CollectionConverters._
 
-object Test {
+//object Test {
 
-def main() = {
+//def main() = {
 
 // complex numbers
 case class Complex(val re: Double, val im: Double) { 
@@ -194,8 +194,8 @@
 //time_needed(mandelbrot(exA, exB, 1000))
 
 
-}
+//}
 
-}
+//}
 
-Test.main()
+//Test.main()