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.
   
   

Friday, January 23, 2015

Why should geeks write

    One can give many reasons to why creative writing is important. However this is normally done by ones who don't have very much to do with sciences, and this topic should be addressed by people with a very different way of thinking and perceiving the world. That is already a reason for geeks to write, since it is one of the easiest forms of expressing opinions, especially for kind of people who usually are introverts.
    Even a more important reason is the fact that in today's world it is not enough to know your subject well, or to be a nice person. Nobody is gonna know that unless you tell them, so it is also extremely important to be able to present yourself to people (for example to employers or human resources personnel) in order to stand out and make them like you. And writing is a relatively easy way to get prepared for this. Especially considering that first contact with some people(again, with employers for example) happens in written form, by resume.
    Not to mention that sometimes there are occasions when you are required to write, like when applying to UofT, they ask you to write a short essay on why did you chose this university and what do you plan to get from it. And if you have no previous writing experience, and can't do it properly, there is a chance that it can affect your life in a very serious ways. Who knows how many of us wouldn't be in this class and probably reading this blog if we couldn't express our thoughts in writing at least at a basic level?

Monday, January 19, 2015

Week 2 challenges

    I don't really have any thoughts about the first week of this course. Mainly because I skipped all of it due to being hospitalized with pneumonia, so I will start from week #2.
    The first challenge I faced on the second week, probably as well as most other CS students did on the first week, was my first SLOG entry. In order to deal with it I told myself I won't leave this chair until I finish it, and tried asking myself questions from the handout. Which turned out to work, since ideas like this started coming. 
    The second issue happened to be the fact that Google's "blogger" doesn't let me use "Tab" key to start a new paragraph, but since we all here use Python, I don't think anybody needs explanation on how I dealt with it. (Everybody likes inside jokes, right?)
    The third and the major difficulty could be defined as: inability to see the difference between the purposes of   " __init__" and "initialize" methods, which seems to have worked out on its own during the tutorial due to my partner's explanation.
    In addition, the sub-classes and inheritance which are supposed to be used in the first assignment sound scary, but it seems that they will be covered in the next lecture, which is nice.

The end.

*edit: Nobody wrote anything on first two weeks, since we were not supposed to, but I realized it after posting this, and I am too egocentric to delete such a piece of art