CS373 Spring 2021 Week 8: Yuhan Zheng

Yuhan Zheng
2 min readMar 13, 2021

What did you do this past week?

This week I had a couple of meetings with my team. We decided on what data we should scrap from APIs we found and how we wanted to design our database. We realized that we needed to adjust some of the attributes for our models, so we have enough instance pages per model.

What’s in your way?

Since we still have a lot of work to do for phase 2 of the project, I will spend some time working on that and make sure we have a database fully implemented by the end of the break. Other than that, I may start to work on a project for the other CS class that I am taking this semester.

What will you do next week?

Next week, I will start implementing the database and hopefully get it done before the end of the week. Also, I will meet with my team to finalize the design for our API and backend. After that, I can either work on implementing our API or using Flask to build the backend.

If you read it, what did you think of the Liskov Substitution Principle?

I really enjoyed reading this paper, and I think it highlights two important rules in OOD. Firstly, whether a class should be the derived class of a particular base class should be depended on its public behaviors. Secondly, we can take advantage of Design by Contract, which declares preconditions and postconditions for each method, to help us design classes that conform to the LSP.

What was your experience of iteration, comprehensions, generators, and digits iterator?

I have worked with iteration and comprehensions before, so I feel pretty comfortable with these two concepts. As for generators, I’ve never heard of them before, but I think they are interesting tools that can help to reduce the time complexity of a piece of code. I am also curious if other languages have similar data types as generators in Python. Lastly, I think digits iterator is a good exercise to test our understanding of the behavior of an iterator in Python.

What made you happy this week?

Spring Break is coming up! I don’t have to stay up late to attend my classes next week:)

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

My tip-of-the-week is to use LettuceMeet to schedule meetings with your teammates. A member of our team suggested using it so we can fill out our availabilities and find the best time to meet, and it has been really helpful.

--

--