Your SlideShare is downloading. ×
Scala
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Scala

1,457

Published on

Scala

Scala

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,457
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
16
Comments
0
Likes
2
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 2.10 Da programação funcional às novas features@diego_pachecoSoftware Architect | Agile Coach
  • 2. http://www.flickr.com/photos/diego-pacheco/4851310207/sizes/l/in/photostream/ pacheco/4851310207/sizes/l/in/photostream/ Sim, com TI… @diego_pacheco Eu trabalho http://diego-pacheco.blogspot.com
  • 3. Estamos contratando: curriculos@ilegra.com I ilegra.com
  • 4. Por que FP?• Uma forma diferente de pensar• Programação declarativa• Menos código (instruções) e mais dados• Melhor Programação concorrente e parallela (estado disciplinado)• Código mais “Correto” (propriedade matemática das funções)• Ideias “velhas” / sólidas vindas de LISP e Haskell• Está voltando com tudo, mas com uma nova roupagem
  • 5. FP vs Prog. ImperativaImperativa 1. Pega o café 2. Coloca o café na xícara 3. Coloca água quente na xícara 5. Mexe o café com a água 4. retorna o caféFuncional retorna mexe (água, coloca (café, xícara))
  • 6. High Order Functions
  • 7. Anonymous Functions (Scala)
  • 8. Anonymous Functions (Java)
  • 9. Partial Functions (Scala)
  • 10. Partial Functions (Java)
  • 11. Curriyng (Scala)
  • 12. Curriyng (Java)
  • 13. Case Class (Scala)
  • 14. Case Class (Java)
  • 15. Pattern Matcher (Scala)
  • 16. Pattern Matcher (Java)
  • 17. More Functions...
  • 18. More Functions...
  • 19. More Functions...
  • 20. Scala 2.10
  • 21. Scala 2.10 - Dynamic
  • 22. Scala 2.10 – String Interpolation
  • 23. Scala 2.10 – Reflection
  • 24. Scala 2.10 – Reflection
  • 25. Scala 2.10 – implicit Class
  • 26. Scala 2.10 – Value Class
  • 27. Scala 2.10 – Better Implicit
  • 28. Fontes! https://github.com/diegopacheco/Diego-Pacheco- Sandbox/tree/master/scripts/scala/scala-2.10-playground https://github.com/diegopacheco/Diego-Pacheco- Sandbox/tree/master/scripts/scala/scala_2.10_da_prog_funciona l_as_novas_features_scala https://github.com/diegopacheco/Diego-Pacheco- Sandbox/tree/master/scripts/scala/scala_2.10_da_prog_funcional _as_novas_features_java@diego_pachecoSoftware Architect | Agile Coach
  • 29. Scala 2.10 Da programação funcional às novas features Obrigado !!!@diego_pachecoSoftware Architect | Agile Coach

×