Saturday, January 31, 2015

Week 4. No recursion, boo to docstrings!

    I suppose at least half of students wrote about recursion, and poor TAs have to read how hard it is  over and over again. So this is a recursion free post. Even though there are some difficulties with getting it, but looks like it just takes some time to get used to this concept, since it got a lot easier after doing practice questions in the end of lab 3.
    Assignment 1. Probably appears as often as recursion(if not more often) but is too big to avoid writing about it. The biggest struggle I faced while doing it, was a huge difference from what we used to do in 108. Coming up with format and algorithms to implement it adds a bunch of variety and fun, but requires a lot of time and effort(most of which you spend not in front of the monitor, but during every day activities: you don't think about how many dirty plates there are left while doing your dishes anymore. You think about how to make the strategy super class as generic as possible. You think "like a computer scientist".)
    In addition docstrings are pretty bothering sometimes. They are a lot less fun than coding, but sometimes take almost as much time. Probably I am gonna look at this very differently soon(some time when I would start the second assignment and actually understand what part of the program does what instead of wasting hours on getting set up), but right now it seems a bit unnecessary.
   
   

No comments:

Post a Comment