Captain’s Slog: Stardate -308918.24752
This week in lecture, I traced code that instructed a turtle to draw patterns recursively. This was really cool! It was nice seeing a piece of code create something visual and pretty. The Turtle example took something I had only read about (recursion) and brought it to life in a more interesting and concrete way. I can say that I really enjoyed this week’s lectures and I was inspired when I saw computer science applied to a sort of digitized, moving art form. In the lab I had practice with inheritance as well as multiple inheritance and using super(). This was good practice. Our biggest challenge was one we finally solved in the end - how to write code to test an example that expects an error(using unittest). After trail and many errors, we came across the right format of code to do this and it worked!