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

enterprise redemption
SMART_READER_LITE
LIVE PREVIEW

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.


slide-1
SLIDE 1

Enterprise Redemption

  • r: How I Learned To Stop

Worrying And Love the JVM

slide-2
SLIDE 2

Enterprise Redemption

  • r: How I Learned To Stop Worrying And Love the JVM
slide-3
SLIDE 3

@yawnt

slide-4
SLIDE 4

Once upon a time...

slide-5
SLIDE 5

Web Services?

slide-6
SLIDE 6
slide-7
SLIDE 7
slide-8
SLIDE 8
slide-9
SLIDE 9

Is that all there is?

slide-10
SLIDE 10
slide-11
SLIDE 11

Evaluate.

slide-12
SLIDE 12

How?

slide-13
SLIDE 13

Community.

slide-14
SLIDE 14

Performances.

slide-15
SLIDE 15

Libraries.

slide-16
SLIDE 16

OK, so why Scala?

slide-17
SLIDE 17

OK, so why Scala?

slide-18
SLIDE 18

Not your average language introduction.

slide-19
SLIDE 19

Use the right tool, for the right job.

slide-20
SLIDE 20

Still, Scala is interesting.

slide-21
SLIDE 21

✔ Concise

slide-22
SLIDE 22

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

slide-23
SLIDE 23

✔ Functional

slide-24
SLIDE 24

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

slide-25
SLIDE 25

✔ OOP

slide-26
SLIDE 26

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

slide-27
SLIDE 27

✔ JVM Interop

slide-28
SLIDE 28

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

slide-29
SLIDE 29

✔ Concurrency

slide-30
SLIDE 30

› Futures › Akka › Threads

slide-31
SLIDE 31

✔ Immutable

slide-32
SLIDE 32

✔ Statically Typed

slide-33
SLIDE 33

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

slide-34
SLIDE 34

✔ DSL Friendly

slide-35
SLIDE 35

new LowFareSearch("JFK" -> "SYD") traveling (3 adults)

  • n "2014-12-30"
slide-36
SLIDE 36

✔ Mature Ecosystem

slide-37
SLIDE 37
slide-38
SLIDE 38

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

slide-39
SLIDE 39

Questions?

github.com/yawnt twitter.com/yawnt me@yawnt.com

slide-40
SLIDE 40

Thanks!

github.com/yawnt twitter.com/yawnt me@yawnt.com