CS 373: Week 8

Daniel Qu
2 min readMar 29, 2021

What did you do this past week?
My group and I made quite a bit of progress on the project after a somewhat relaxing spring break. I also had to take a midterm for another class, which was fairly stressful.

What’s in your way?
I have had a couple of family issues recently, and it has drastically driven my productivity down this past week. It has also not helped that several projects are due this week, so I have ended up falling very behind in my work. Hopefully, everything will blow over and things will return to normal.

What will you do next week?
I wish for next week to be a little bit more relaxing, without having several deadlines and exams to worry about. I also have yet to move back to my apartment after going home for spring break, so that should happen next week.

If you read it, what did you think of the Interface Segregation Principle?
I thought that the paper made a lot of sense, saying we should only implement the things that are necessary. Having excess information can just lead to confusion and unreadable code, so splitting the essential interfaces will be very helpful.

What was your experience of comprehensions, yield, closures, and decorators?
I did not have very much Python experience before this class, so this was the first time I had seen these concepts. I think that yield generators can be very powerful, as they can significantly reduce repetitive code. I am still slightly uncomfortable with closures, as I do not really know how to use them efficiently. I think that I can understand when looking at one, but I will not be able to use it myself. Decorators are a little more comfortable for me to use, however still very foreign to me.

What made you happy this week?
Since I am still at home, I have been going on long walks at nights to go stargazing, something that I cannot do at my apartment. The peace and quiet gives me time to reflect and has made my life a little better.

What’s your pick-of-the-week or tip-of-the-week?
My pick of the week is to take a look at functional programming. It is not that much different from other types of programming, however it can be very powerful in the right situations.

--

--