Another fantastic meetup. We finished coding Tetris. John took the project a few steps further in his spare time. He got the console to set itself at a fixed width and height. He got input controls working. Fantastic stuff. A testament to the problems that are solvable by time, determination and interest in the subject matter.
We discussed the difference between tuples and structs. To be honest, I’ve never used structs in my programs before. John saw that I had created the piece offset as a tuple and asked me why I didn’t make it as a struct.
He walked me and the rest of the meetup attendees through the process of updating the code to use a struct instead of a tuple. This was a fantastic exercise in group refactoring. The pace of our discussion was also ideal.
Troy, a new attendee, was able to ask more basic questions about the language. And on explanation, I was able to learn more aspects of the things I already knew.
Loving the meetup. We’re covering Test Driven Development and Git workflow on Thursday. RSVP if you’d like to attend!