jagomart
digital resources
picture1_Functional Programming Pdf 194443 | Scala Item Download 2023-02-06 13-56-02


 171x       Filetype PDF       File size 2.45 MB       Source: homepages.thm.de


File: Functional Programming Pdf 194443 | Scala Item Download 2023-02-06 13-56-02
scala a short introduction based on m odersky l spoon b venners programming in scala seite 1 th letschert scala http www scala lang org scala yet another programming language ...

icon picture PDF Filetype PDF | Posted on 06 Feb 2023 | 2 years ago
Partial capture of text on file.
       Scala
           a short introduction
                 based on M.Odersky, L.Spoon, B.Venners
                 Programming in Scala
                                             Seite 1                          © Th Letschert
             Scala
                                                           http://www.scala-lang.org
   Scala – Yet another programming language
        –developed at the 
           Swiss Federal Institute of Technology Lausanne
        –by M. Odersy,  M. Zenger and others
        –statically typed programming language                     Martin Odersky at 
                                                                   LinkedIn Tech Talk 
                                                                   speaking on SCALA June 
        –runs on the .Net- and Java-platform                       5, 2009;
                                                                   © LindaPoengPhotography 
        –Conventional syntax similar to Java and C#
        –unifies object-oriented and functional programming
        –is a compiled and a scripting language
                           "I can honestly say if someone had shown me the Programming in Scala book by 
                           by Martin Odersky, Lex Spoon & Bill Venners back in 2003 I'd probably have 
                           never created Groovy." 
                           James Strachan
                                        Seite 2
                                                                      Th Letschert
               Introduction
    Programming and Scripting
    package package1
    object Hallo {
             def main(args: Array[String]): Unit = {
                      println("Hello World");
             }
    }
      Scala programming
    scala> var dict = Map("Hugo"­>4711, "Karla"­>4712)                                             
                                                 
    dict: scala.collection.immutable.Map[java.lang.String,Int] = Map(Hugo ­> 4711, Karla ­> 4712) 
    scala> dict += ("Klausi"­>2211)                                                                
                                                   
    scala> dict("Karla")
    res2: Int = 4712
    scala>
      Scala scripting
                                             Seite 3
                                                                               Th Letschert
            Introduction
   Scripting
         Script: a file ending in an expression
              #!/bin/bash 
              exec ~/Scala/bin/scala "$0" "$@"
              !#
              println("Hello this is scala !\n Your arguments: ")
              args.foreach(println)
              ./scala-script.scala blub blubber
                       Hello this is scala !
                        Your arguments:
                       blub
                       blubber
                                    Seite 4
                                                                Th Letschert
The words contained in this file might help you see if this file matches what you are looking for:

...Scala a short introduction based on m odersky l spoon b venners programming in seite th letschert http www lang org yet another language developed at the swiss federal institute of technology lausanne by odersy zenger and others statically typed martin linkedin tech talk speaking june runs net java platform lindapoengphotography conventional syntax similar to c unifies object oriented functional is compiled scripting i can honestly say if someone had shown me book lex bill back d probably have never created groovy james strachan package hallo def main args array unit println hello world var dict map hugo karla collection immutable klausi res int script file ending an expression bin bash exec this n your arguments foreach blub blubber...

no reviews yet
Please Login to review.