enterprise redemption
play

Enterprise Redemption or: How I Learned To Stop Worrying And Love - PowerPoint PPT Presentation

Enterprise Redemption or: How I Learned To Stop Worrying And Love the JVM Enterprise Redemption or: How I Learned To Stop Worrying And Love the JVM @yawnt Once upon a time... Web Services? Is that all there is? Evaluate. How? Community.


  1. Enterprise Redemption or: How I Learned To Stop Worrying And Love the JVM

  2. Enterprise Redemption or: How I Learned To Stop Worrying And Love the JVM

  3. @yawnt

  4. Once upon a time...

  5. Web Services?

  6. Is that all there is?

  7. Evaluate.

  8. How?

  9. Community.

  10. Performances.

  11. Libraries.

  12. OK, so why Scala?

  13. OK, so why Scala?

  14. Not your average language introduction.

  15. Use the right tool, for the right job.

  16. Still, Scala is interesting.

  17. ✔ Concise

  18. (0..10).each { | x | puts " #{ x }\n " } (0 to 10) foreach (x => println (x))

  19. ✔ Functional

  20. val addThree = (x: Int) => x + 3

  21. ✔ OOP

  22. class Dog(name: String) { def bark() = { println (s"Woof from $ {name}") } }

  23. ✔ JVM Interop

  24. import java.text.SimpleDateFormat ... val fmt = "dd/MM/yyyy" val sdf = new SimpleDateFormat(fmt) sdf.parse("01/01/2015")

  25. ✔ Concurrency

  26. › Futures › Akka › Threads

  27. ✔ Immutable

  28. ✔ Statically Typed

  29. val x: Int = 3 val y: (Int, Int) = (3, 4) y * 3 // error

  30. ✔ DSL Friendly

  31. new LowFareSearch("JFK" -> "SYD") traveling (3 adults) on "2014-12-30"

  32. ✔ Mature Ecosystem

  33. › scala-lang.org › twitter.github.io/scala_school › playframework.com › akka.io › slick.typesafe.com

  34. Questions? github.com/yawnt twitter.com/yawnt me@yawnt.com

  35. Thanks! github.com/yawnt twitter.com/yawnt me@yawnt.com

Recommend


More recommend