ruby's influence over the elixir language - paolo montrasio - slides.pdf · web/ router. ex...

52
Ruby's influence over the Elixir language by Paolo Montrasio [email protected] http://connettiva.eu/rubyday

Upload: others

Post on 20-May-2020

8 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html

Ruby's influenceover the Elixir language

by Paolo [email protected]://connettiva.eu/rubyday

Page 2: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html
Page 3: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html
Page 4: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html
Page 5: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html
Page 6: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html
Page 7: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html
Page 8: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html
Page 9: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html
Page 10: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html
Page 11: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html
Page 12: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html
Page 13: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html

Differences

Page 14: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html
Page 15: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html

f(x) y→

Page 16: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html
Page 17: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html
Page 18: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html
Page 19: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html
Page 20: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html
Page 21: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html
Page 22: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html
Page 23: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html
Page 24: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html
Page 25: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html
Page 26: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html

Strings

Page 27: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html
Page 28: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html

Lists and arrays

Page 29: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html
Page 30: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html
Page 31: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html
Page 32: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html
Page 33: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html

Getting serious(Mr Algorithm)

Page 34: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html
Page 35: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html
Page 36: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html
Page 37: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html
Page 38: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html
Page 39: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html

DIY

Page 40: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html
Page 41: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html
Page 42: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html
Page 43: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html
Page 44: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html
Page 45: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html

No Devise

DIY with the cookie session store

Page 46: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html
Page 47: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html
Page 48: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html

The equal in <%= if cond do %> is important

Page 49: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html

Is it any better?

Page 50: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html
Page 51: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html
Page 52: Ruby's influence over the Elixir language - Paolo Montrasio - slides.pdf · web/ router. ex lib channels bidirectional controllers, websockets app/ view/ layouts/application . html

http://connettiva.eu/rubyday

Paolo [email protected]

CC-BY-SA 4.0 plus the original licences of the images