Your SlideShare is downloading. ×
  • Like
Scala frukostseminarium
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Scala frukostseminarium

  • 158 views
Published

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

Published in Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
158
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
0
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Scala Johan Andrén johan.andren@mejsla.se
  • 2. Agenda Språk Miljö Komma igång
  • 3. Bakgrund Lausanne
  • 4. Språket Det bästa av flera världar (precis som kebabpizza)
  • 5. Objektorientering + Funktionell Programmering
  • 6. Funktionell Programmering max(a, b) = if (a > b) a else b
  • 7. Objektorientering Stora abstraktioner Funktionell Programmering Små abstraktioner
  • 8. Typsystem Låter oss beskriva begränsningar
  • 9. Typinferens Låter oss slippa beskriva begränsningar
  • 10. Scala Java 15 000 Scala 30 000 10 000 3000
  • 11. Miljö Hur och var Scala passar in
  • 12. Java javac Klass1.class Klass1.java Scala Klass2.scala Bytekod scalac Bytekod Klass2.class
  • 13. Bytekod Arkiv Arkiv Arkiv Klass1.class Arkiv Bytekod Klass2.class app.jar app.jar JVM
  • 14. Arkiv app.jar Arkiv Arkiv Arkiv Arkiv app.jar javalib-x.jar JVM Arkiv scala-library.jar
  • 15. Scala Java Scala Java
  • 16. Scala Java Java Java Java Java
  • 17. Komma igång Hur kommer man igång med Scala? (och lite annat)
  • 18. Resurser för att lära sig Kurser Nätet Böcker Mentor
  • 19. Macros Avancerad FP Avancerad Scala-OO Scala-OO Grundläggande FP Java i Scala
  • 20. Scala Java Tester Produktionskod
  • 21. Java Java Java Scala Java Java
  • 22. Scala Paradox
  • 23. ”If I were to pick a language to use today other than Java it would be Scala” James Gosling
  • 24. ”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
  • 25. Summering Språk Miljö Komma igång