CS373 Fall 2020: Gary Wang

Gary Wang
2 min readOct 10, 2020

Blog Post 7

What did you do this past week?

This past week, I attended lectures and participated. My project team also met up to discuss next steps for the project and split the work evenly among us.

What’s in your way?

Nothing is really in my way at the moment. It is pretty early in phase II so I shall see if any problems arise later.

What will you do next week?

Next week, I will focus on fixing the parts of the project that we lost points on. I missed some part on the About page so I will work to fix that so we don’t lose points on it again. Also, I will work on scraping data from our data APIs so the data can be ready for the frontend when we get to that point.

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

I think that the Open-Closed Principle is very important. I just wish I knew it sooner. During a system design interview, I was asked to implement a hotel elevator system, but I did not know what to do when I was told the elevator system changed. Like a rookie, I just said to change the modules to accommodate the change. I should’ve known that an abstraction was better design practice.

What was your experience of iterators, generators, and yield? (this question will vary, week to week)

I learned about iterators, generators, and yield before but never very in depth. It seems like they can be very useful in iterating over data and not putting stress on the memory. Generators are a little strange to me still. I would much rather just have the entire iterable available.

What made you happy this week?

I’ve been getting a lot of sleep lately and just feeling less stressed! I suggest everyone look out for themselves and think about what their priorities in life are.

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

This week I had to learn Python list comprehension and I found this link that was helpful: https://www.programiz.com/python-programming/list-comprehension. We are also learned list comprehension in class which is very cool as well.

--

--