CS373 Fall 2020: Michael Liu

Michael Liu
2 min readOct 12, 2020

What did you do this past week?

This past week I did my school work/assignments, projects, research, and prepared for a few upcoming exams. I also set some new personal records for myself. I learned how to solve a rubik’s cube and went to a new place to get food, specifically a torta, it was quite good.

What’s in your way?

I spent the week in isolation mostly because one of my friends might have possibly contracted an illness so it was a pretty lonely week which negatively affected my mood and likely inhibited me from working/performing my best.

What will you do next week?

Next week things will likely return to normal and I will work on my school work and assignments, exercise, cook, recruit, and spend time with friends. I will also probably limit test my body some more and see if I can break some of those new personal records I had set this week and top them again.

If you read it, what did you think of The Open-Closed Principle?

I have not looked at The Open Closed Principle yet but it sounds like a very interesting paper that relates to some of the fundamental concepts of object oriented programming and I cannot wait to read it.

What was your experience of iterators, generators, and yield?

I have had previous experience with iterator, generators, and yield. I think that generators are extremely useful when handling data that extremely large, too large to be loaded into memory all at once. And, I think that iterators help us traverse so many different data structures more efficiently, they are truly an outstanding computer science concept.

What made you happy this week?

The first half of last Monday was nice and quiet, no complaints from me. In the grand scheme of things, I suppose that I should be happy for that.

What’s your pick-of-the-week or tip-of-the-week?

My tip of the week is that sometimes, if you’re writing a complex code base and there is an issue and you cannot for the life of you figure out what the bug is, a viable and sometimes even time/resource-saving option is to simply scrap everything and start over. Oftentimes, after a fresh start, you are able to code the project with a much better understanding/big picture in mind which can help you overwrite the bug in your previous version as well as avoid potential future issues and perhaps improve the code that had previously existed as well.

--

--