CS 373 Spring 2021: Week 9

Bruce Luo
CS373: SWE Blogs
Published in
2 min readApr 5, 2021

--

What did you do this past week?

I met with my group to discuss Phase III of the project, started on the Darwin project for OOP, and finished a group project and assignment for numerical analysis.

What’s in your way?

I’ve been debugging an issue on my OOP project for a while, but I haven’t been able to figure out the problem yet. I’ve also got a lot of homework coming up, so I hope I can manage a busy week.

What will you do next week?

I’ll continue work on OOP and finish my tasks for Phase III of SWE.

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

I thought it was an informative read. I hadn’t considered the idea of dependency inversion beforehand, but after reading the paper, it makes a lot of sense why you’d want to avoid such a thing. If adhering to the principle, it allows for greater code reuse, even for high-level modules — which, in my opinion, is reason enough to follow it. As mentioned in the article, oftentimes, low-level modules are already reusable, so having this extend to high-level components is a great advantage.

What was your experience of +, *, ** and decorators? (this question will vary, week to week)

It was a bit confusing, but I think I understand the concepts better after the Hackerrank exercises we did this week. The * and ** operators definitely are a great option for gaining more flexibility with your functions, as they allow for arbitrary inputs — as seen when used with decorators, enables the use case of easily adding functionality onto existing methods.

What made you happy this week?

I was able to schedule an appointment to get vaccinated on Tuesday. With this, I might be able to return to Austin for a bit before this semester is over!

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

My tip-of-the-week would be to use draw.io. It’s very useful for collaborating on diagrams in real-time.

--

--