Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Scala

 Scala

A brief overview of Scala

Andrew Thal

May 11, 2012
Tweet

More Decks by Andrew Thal

Other Decks in Technology

Transcript

  1. Functions! val  listOfStrings  =    List("Hello",  "World")   val  withIndex

     =  listOfStrings.zipWithIndex   println(withIndex)   //List((Hello,0),  (World,1))) Friday, May 11, 12
  2. Functions! val  listOfStrings  =    List("Hello",  "World")   val  withIndex

     =  listOfStrings.zipWithIndex   println(withIndex)   //List((Hello,0),  (World,1))) Friday, May 11, 12
  3. Functions! val  listOfStrings  =    List("Hello",  "World")   val  withIndex

     =  listOfStrings.zipWithIndex   println(withIndex)   //List((Hello,0),  (World,1))) Friday, May 11, 12
  4. Functions! val  listOfStrings  =    List("Hello",  "World")   val  withIndex

     =  listOfStrings.zipWithIndex   println(withIndex)   //List((Hello,0),  (World,1))) Friday, May 11, 12
  5. Functions! val  listOfStrings  =    List("Hello",  "World")   val  withIndex

     =  listOfStrings.zipWithIndex   println(withIndex)   //List((Hello,0),  (World,1))) Friday, May 11, 12
  6. Functions! val  listOfStrings  =    List("Hello",  "World")   val  withIndex

     =  listOfStrings.zipWithIndex   println(withIndex)   //List((Hello,0),  (World,1))) Friday, May 11, 12
  7. Hello, World object HelloWorld extends App { println("Hello, world!") }

    public class HelloWorld { public static void main(String[] args) { System.out.println("Hello, World"); } } Friday, May 11, 12