Unformatted text preview:

CSE 5317Lecture'3:'Scala26'Jan'2010Nate'NystromUniversity'of'Texas'at'ArlingtonFriday, February 5, 2010ScalaDeveloped'by'MarEn'Odersky’s'group 'at'EPFL'in'Lausanne,'CH,'from'2003OpresentIntegrates'OO'and'funcEonal'programming'featuresRuns'on'the'JVM'and'on'.NET◾JVM'beUer'supported,'thoughSeamless'integraEon'with'Java◾Scala'programs'can'use'Java'classes◾Java'programs'can'use'Scala'classes2Friday, February 5, 2010Where to get itScala'webpage:◾hUp://ww w.scalaOlang.org◾Download:'hUp://www.scalaOlang.org/downloadsScala'Eclipse,'NetBeans,'IntelliJ'plugins◾hUp://www.scalaOlang.org/node/913Friday, February 5, 2010Where to learn moreScala'tutorials:◾hUp://www.scalaOlang.org/node/1305◾hUp://www.arEma.com/scalazine/arEcles/steps.htmlScala'books:◾Programming)in)Scala'by'Odersky,'Spoon,'and'Venners◾on#reserve#in#Eng.#Library◾Programming)Scala'by'Wampler'and'Payne◾h1p://programming6scala.labs.oreilly.com/4Friday, February 5, 2010Scala compiler and interpreterCompiler◾scalac%foo.scala'–'compiles'foo.scala'to'Java'bytecode'Interpreter:◾scala%foo.scala'–'compiles'and' runs'foo.scala◾run'scala'on'the'commandOline'to'get'a'“shell”5Friday, February 5, 2010FeaturesLightweight'syntax◾no'‘;’'required◾def,'val,'varType'inferenceUsual'imperaEve'features:'while,'if,'...IteraEon:'for,'foreachPure'OO◾all'types'are'objects'including:'Int,'Boolean,'Float,'Array[Int],'...◾all'operaEons'are'methods:'+'is'a'method'of'Int,'...FuncEon'types,'arrays,'lists,'tuples,'sets,'mapsSingleton'objectsTraits6Friday, February 5, 2010Questions?Friday, February 5,


View Full Document

UT Arlington CSE 5317 - Lecture 3 - Scala

Download Lecture 3 - Scala
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Lecture 3 - Scala and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Lecture 3 - Scala 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?