Your SlideShare is downloading. ×
SpeakerConf: my findings in trying to use this functional programming business you guys keep talking about
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

SpeakerConf: my findings in trying to use this functional programming business you guys keep talking about

1,197

Published on

0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,197
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
7
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. Wednesday, August 8, 12
  • 2. #speakerConf München my findings in trying to use this functional programming business you guys keep talking about phil calçado @pcalcado http://philcalcado.comWednesday, August 8, 12
  • 3. my question: are tests good design aid for programming with pure-ish functions?Wednesday, August 8, 12
  • 4. asking the FP community “dafuq? just use [Quick|Scala]Check LOL” “reason about your code or do not reason about your code, there is no try”Wednesday, August 8, 12
  • 5. silly example: we have iOS push notifications; let’s introduce androidWednesday, August 8, 12
  • 6. written w/o testsWednesday, August 8, 12
  • 7. writing some testsWednesday, August 8, 12
  • 8. making it passWednesday, August 8, 12
  • 9. introducing androidWednesday, August 8, 12
  • 10. “Every function should have: - A single specific purpose - If possible, a generally useful purpose - A meaningful name - A structure that is simple to understand - An interface that is simple yet general enough” Peter Norvig, Good Lisp Programming Style - http://bit.ly/u6JTPtWednesday, August 8, 12
  • 11. other findingsWednesday, August 8, 12
  • 12. other findings functional vs. object impedance happens all the timeWednesday, August 8, 12
  • 13. Wednesday, August 8, 12
  • 14. stages must interact with ruby libs. options: 1) give up “functional” stages 2) object-functional mapping layerWednesday, August 8, 12
  • 15. other findings there is something going on between category theory and software engineering * * you know, the fairly anecdotal body of knowledge we useWednesday, August 8, 12
  • 16. other findings more types = less typingWednesday, August 8, 12
  • 17. other findings more types = less typing ORLY? how much less?Wednesday, August 8, 12
  • 18. next question: how much of testing as design aid can static typing replace?Wednesday, August 8, 12
  • 19. phil calçado http://philcalcado.com @pcalcado www.soundcloud.comWednesday, August 8, 12

×