Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Using flash cards to improve your Ruby

Using flash cards to improve your Ruby

This was a lightning talk at RubyKaigi 2013 in Tokyo about using flash cards to improve your Ruby skills. But you can memorize almost anything using this technique.

It might not be understandable without me talking, but it is damn beautiful. Slides created by Stina Evjan (http://stinaevjan.com/).

Peter Evjan

May 31, 2013
Tweet

More Decks by Peter Evjan

Other Decks in Programming

Transcript

  1. Using flash cards to improve your Ruby A lightning talk

    about flash cards Melbourne, Australia @peterevjan [email protected] PETER PETER EVJAN EVJAN Illustrations & design by Stina Evjan
  2. Oh no! Oh no! I got it wrong I got

    it wrong :( Whoop whoop! Whoop whoop! I got it right! I got it right!
  3. This seems like a sensible way to ensure that the

    number_of_cliches method always returns zero, but will it actually work? To put it another way, can you override a method in a module by defining that method in the class that includes the module? Once you know that a mixin module effectively becomes a superclass when it is included, the answer is easy to come by: Yes. Since we know that the methods in a superclass cannot override the methods in subclasses, we can deduce that not module method
  4. Once you know that a mixin module effectively becomes a

    superclass when it is included, the answer is easy to come by: Yes. Since we know that the methods in a superclass cannot override the Question What is the relation between a class and the module that it just mixed in? Answer The module effectively becomes a superclass