Scala frukostseminarium
Upcoming SlideShare
Loading in...5
×
 

Scala frukostseminarium

on

  • 302 views

Swedish slides from the breakfast seminar about Scala held at the Mejsla office 2013-11-22

Swedish slides from the breakfast seminar about Scala held at the Mejsla office 2013-11-22

Statistics

Views

Total Views
302
Views on SlideShare
302
Embed Views
0

Actions

Likes
0
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Scala frukostseminarium Scala frukostseminarium Presentation Transcript

  • Scala Johan Andrén johan.andren@mejsla.se
  • Agenda Språk Miljö Komma igång
  • Bakgrund Lausanne
  • Språket Det bästa av flera världar (precis som kebabpizza)
  • Objektorientering + Funktionell Programmering
  • Funktionell Programmering max(a, b) = if (a > b) a else b
  • Objektorientering Stora abstraktioner Funktionell Programmering Små abstraktioner
  • Typsystem Låter oss beskriva begränsningar
  • Typinferens Låter oss slippa beskriva begränsningar
  • Scala Java 15 000 Scala 30 000 10 000 3000
  • Miljö Hur och var Scala passar in
  • Java javac Klass1.class Klass1.java Scala Klass2.scala Bytekod scalac Bytekod Klass2.class
  • Bytekod Arkiv Arkiv Arkiv Klass1.class Arkiv Bytekod Klass2.class app.jar app.jar JVM
  • Arkiv app.jar Arkiv Arkiv Arkiv Arkiv app.jar javalib-x.jar JVM Arkiv scala-library.jar
  • Scala Java Scala Java
  • Scala Java Java Java Java Java
  • Komma igång Hur kommer man igång med Scala? (och lite annat)
  • Resurser för att lära sig Kurser Nätet Böcker Mentor
  • Macros Avancerad FP Avancerad Scala-OO Scala-OO Grundläggande FP Java i Scala
  • Scala Java Tester Produktionskod
  • Java Java Java Scala Java Java
  • Scala Paradox
  • ”If I were to pick a language to use today other than Java it would be Scala” James Gosling
  • ”If I someone had shown me the ’Programming in Scala’ book back in 2003, I´d probably have never created Groovy” James Strachan ”No other language on the JVM seems as capable of being a ’replacement for Java’ as Scala, and the momentum behind Scala is now unquestionable” Charles Nutter
  • Summering Språk Miljö Komma igång