Sunday, 31 March 2013

DIY Coursera - Saying Hello In Scala


Why  Scala ? Functional and OOP - Double Trouble


Scala is a multi-paradigm programming language built on top of the Java virtual machine (JVM) and maintaining strong interoperability with Java, while at the same time integrating functional programming along with Java's object-oriented programming model, cleaning up what are often considered to have been poor design decisions in Java (e.g. type erasure,checked exceptions, the non-unified type system) and adding a number of other features designed to allow cleaner, more concise and more expressive code to be written


http://typesafe.com/stack/scala_ide_download (Make sure to download the IDE for Scala version 2.10.1!)


Install Scala IDE from here.


  1. Extracted contents to D:\apps\scala-sdk-3.0.0-eclipse
  2. Launch IDE and create a workspace for scala @ D:\workspace\scala
 






Every time you save the file, the content of the worksheet will be evaluated. Change value of “x” and observe the change on the right side.



Install SBT from here @ D:\apps

 




No comments:

Post a Comment