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

A Glimpse of a Scala - Java Meetup Novi Sad May...

A Glimpse of a Scala - Java Meetup Novi Sad May 2014

I gave an introduction to Scala at Novi Sad on 29.05.2014. The corresponding code examples can be found here: https://github.com/lukaspustina/A-Glimpse-Of-Scala-Java-Meet-Up-in-Novi-Sad

Lukas Pustina

May 30, 2014
Tweet

More Decks by Lukas Pustina

Other Decks in Programming

Transcript

  1. Which Programming Language would you use now on top of

    JVM? Scala! James Gosling, Father of Java
  2. Can Programming Be Liberated from the von Neumann Style A

    Functional Style and Its Algebra of Programs — John Backus, 1977
  3. OO and func • State Mutation vs. Immutability • Object

    Composition vs. Functional Composition • Class Hierarchies vs. Pattern Matching
  4. Functions as 1st class citizens Pass a function as you

    would pass an Int, a String, or an arbitrary object.
  5. [lukas@muffin] ~ ➜ scala! Welcome to Scala version 2.11.1 (Java

    HotSpot(TM) 64-Bit Server VM, Java 1.7.0_51).! Type in expressions to have them evaluated.! Type :help for more information.! ! scala> print("Hello World")! Hello World