CSC302 2011S, Class 06: Io (2) Overview: * Why Io? * Lab. Admin: * I understand that Assignment 2 took somewhat longer than I'd anticipated. What were the hurdles? * #5, define_method was difficult to figure out * Students did not know graph traversal algorithms * Ruby's operations are not intuitively named * Assignment 3 is now ready. * Few of you asked or answered questions on Tate 3.3. Why? * EC for CS table today. * Absent: SA, DR, AR, DV Why Io? * Simple syntax * Small language * A very different model of object-oriented programming * Lots of concurrency support * Fun parsing and operation model * Reveals the underlying implementation Lab Io1 Lab Io2: Exercise 1 * How do I figure out an object's slot names? * Try looking at its type or proto (or both) Exercise 2 * How do I define the + operator Number + = method(...)