As a beginner in ruby, we generally take iteration and enumeration for granted. Methods like each and collect gratefully abstract away the majority of logic required for iteration and enumeration. We get an iterator or yield for free in our blocks and have no idea how.
In this quick 30 minute talk, Avi Flombaum will build every iterator and enumerator in ruby just using the core loop keyword. We'll learn how to implement the while keyword using loop, then on top of that we'll implement an each and learn about yield and blocks, on top of that we'll implement collect, and then we'll implement the higher level enumerators like inject, any?, all?, none?, select, and reject.
A basic understanding of iteration and then ruby will be helpful.
We'll hang out after the talk and get a chance to network.
I'm going to try to schedule 1 non-flatiron related event a month from here on in. See you all soon!
PS - we're only charging $1 to make RSVP's meaningful. all proceeds are donated to wikipedia.
Also, space gets a little tight, so it might be some standing room.