Ruby Book Club LIVE

Ruby Book Club LIVE

Hello and welcome to the Ruby Book Club! We’re delighted that you could join us.

Today we’re starting with section 4.9 in Avdi Grimm’s ‘Confident Ruby’: Replace “string typing” with classes.

As always, it doesn’t matter if you haven’t found time to do the reading. At the Ruby Book Club, we like to make sure that everyone is on the same page.

5bace0ba91ff3182c0e522ab4d67cd56?s=128

Nadia Odunayo

July 11, 2016
Tweet

Transcript

  1. 5.
  2. 10.
  3. 11.
  4. 13.

    “The string is a stark data structure…a perfect vehicle for

    hiding information.” — Alan Perlis p.84
  5. 18.

    Input data is represented as a specially-formatted String. There are

    numerous case statements switching on the content of the String. p.84
  6. 20.
  7. 21.
  8. 22.
  9. 23.
  10. 24.
  11. 25.
  12. 26.
  13. 27.
  14. 29.
  15. 30.
  16. 31.
  17. 32.
  18. 37.
  19. 40.
  20. 41.
  21. 45.
  22. 46.
  23. 47.
  24. 48.
  25. 50.
  26. 52.
  27. 53.
  28. 54.
  29. 59.

    “The key to working productively in an OO language is

    to make the type system and polymorphic method dispatch do the work for you.” — Avdi Grimm p.96
  30. 60.
  31. 68.
  32. 69.
  33. 70.

    Fun

  34. 73.
  35. 75.