Slide 1

Slide 1 text

Code Is What Code Does @brixen

Slide 2

Slide 2 text

I <3 Ruby

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

We live in a world filled with hard problems

Slide 7

Slide 7 text

watsi.org

Slide 8

Slide 8 text

People are leaving Ruby

Slide 9

Slide 9 text

Haskell Go Clojure Scala Node.js Rust Javascript Elixir

Slide 10

Slide 10 text

Businesses are not choosing Ruby

Slide 11

Slide 11 text

Ruby has problems

Slide 12

Slide 12 text

Too slow

Slide 13

Slide 13 text

0 1.25 2.5 3.75 5 Rubinius v1 Rubinius JIT v1 Rubinius v2 MRI 2.1

Slide 14

Slide 14 text

No concurrency

Slide 15

Slide 15 text

0 1 2 3 4 Rubinius MRI 2.1

Slide 16

Slide 16 text

Too much memory

Slide 17

Slide 17 text

0 22.5 45 67.5 90 Hash 1 Hash 2

Slide 18

Slide 18 text

Not compiled

Slide 19

Slide 19 text

Monkey patching

Slide 20

Slide 20 text

$ rbx! irb(main):001:0> "abc".clear! => ""! irb(main):002:0> require "./some_gem.rb"! => true! irb(main):003:0> "abc".clear! => "nope"! irb(main):004:0>

Slide 21

Slide 21 text

irb(main):003:0> "abc".clear! => "nope"! irb(main):004:0> "abc".method :clear! => #! irb(main):005:0>

Slide 22

Slide 22 text

No content

Slide 23

Slide 23 text

Static types

Slide 24

Slide 24 text

Why use static types?

Slide 25

Slide 25 text

Correctness 1

Slide 26

Slide 26 text

Adding types does not make correct code more correct

Slide 27

Slide 27 text

Speed 2

Slide 28

Slide 28 text

0 1.25 2.5 3.75 5 Rubinius v1 Rubinius JIT v1 Rubinius v2 MRI 2.1

Slide 29

Slide 29 text

Maintenance 3

Slide 30

Slide 30 text

Adding complexity does not improve understanding

Slide 31

Slide 31 text

Ruby is a better choice

Slide 32

Slide 32 text

Programming is too hard

Slide 33

Slide 33 text

We are too slow

Slide 34

Slide 34 text

We fail a lot

Slide 35

Slide 35 text

The Cynefin framework

Slide 36

Slide 36 text

Simple Sense • Categorize • Respond 1

Slide 37

Slide 37 text

Simple Sense • Categorize • Respond 1 Best Practice

Slide 38

Slide 38 text

Complicated Sense • Analyze • Respond 2

Slide 39

Slide 39 text

Complicated Sense • Analyze • Respond 2 Good Practice

Slide 40

Slide 40 text

Complex Probe • Sense • Respond 3

Slide 41

Slide 41 text

Complex Probe • Sense • Respond 3 Emergent Behavior

Slide 42

Slide 42 text

Chaotic Act • Sense • Respond 4

Slide 43

Slide 43 text

Chaotic Act • Sense • Respond 4 Novel Solutions

Slide 44

Slide 44 text

Clay vs concrete

Slide 45

Slide 45 text

B.C. A.D.

Slide 46

Slide 46 text

B.C. A.D. Before compilation After deployment

Slide 47

Slide 47 text

Read Eval Print Loop

Slide 48

Slide 48 text

Study Experiment Check Loop

Slide 49

Slide 49 text

Assumptions help us solve problems

Slide 50

Slide 50 text

Assumptions hinder our efforts

Slide 51

Slide 51 text

Technical debt Cost to experiment

Slide 52

Slide 52 text

Refactoring Rework

Slide 53

Slide 53 text

We live in a world filled with hard problems

Slide 54

Slide 54 text

Let's make programming easier

Slide 55

Slide 55 text

Let's test our ideas more quickly

Slide 56

Slide 56 text

Let's fail more productively

Slide 57

Slide 57 text

Improve the world

Slide 58

Slide 58 text

Try Rubinius github.com/rubinius/rubinius

Slide 59

Slide 59 text

Thank you!

Slide 60

Slide 60 text

• http://winstonyw.com/2013/06/12/reddotrubyconf_2013_-_thank_you/ • https://www.flickr.com/photos/veganstraightedge/6037027106/ • http://www.europeancarweb.com/news/ epcp_1010_audi_e_tron_spyder_creation/photo_13.html • http://thisisbuildingmaterials.blogspot.com/2012/03/examples-of-famous- concrete-buildings.html Credits