CS373 Fall 2020: Gary Wang

Gary Wang
2 min readNov 8, 2020

Blog Post 11

What did you do this past week?

This past week, I went to class and participated. I also met with my team to work on phase 3 of the project. My role was to refactor and comment the frontend code as well as add more frontend Jest tests. I also added some search, sort, and filter components to some model pages.

What’s in your way?

Nothing is currently in my way.

What will you do next week?

Next week, my group and I plans to meet up and discuss the next steps for phase 4 of the project. I hope to start on my part of the project. My group plans on doing the presentation using either Zoom recording or locally record on our machines.

If you read it, what did you think of The Dependency Inversion Principle?

I think The Dependency inversion Principle is a very useful principle in software engineering. Personally, I had to use it in a system design interview for an internship. They asked me to design an elevator system. The modules I had included the controller, elevator, and the request button. The controller was pretty dependent on the elevator and the request button and if the system were to change the algorithm for moving the elevator would have to change. It is clear that you need abstraction here so the controller doesn’t need to know these details and depend on lower level modules.

What was your experience of relational algebra in Python? (this question will vary, week to week)

Relational algebra is a bit confusing. It takes me a while to do the canvas quiz questions and I wish I had more time to figure things out. I know this will be important for learning SQL.

What made you happy this week?

I am happy that the weather is very nice outside these days!

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

Last blog post, I talked about using Twitter Publish to embed atwitter feed on a web app. If you use React, there are some inconsistencies with rendering the feed. I found adding a script after mounting helped me: https://dev.to/heymarkkop/embed-twitter-widget-on-reactjs-1768

--

--