CS371p Spring 2021: Week 8

Samuel Turner
2 min readMar 15, 2021

Blog Post 8

What did you do this past week?

I spent most of the week working on a project that was due in my Networking class as well as some home work in other classes.

What’s in your way?

Nothing is currently in my way. There were a lot of assignments due the week before spring break that I am now all finished with.

What will you do next week?

Hopefully I will be able to motivate myself to work on projects and home work throughout spring break since there are multiple things due right after.

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

I saw a lot of similarities and connections with the open closed principle paper we read last week. Even with understanding the contents of the paper and reasons for following its guidelines when making classes, I feel like it will be difficult to do. It is easy to get focused on just the class and forget to look at it from the outside to see if it behaves as it should.

What was your experience of heap arrays, allocators, and digits iterator? (this question will vary, week to week)

I have used heap arrays before, and they were relatively straight forward. I was initially confused about allocators at first. I have implemented heaps before in other classes though, so once I made the connection between allocators and the heap it made sense. The digits iterator was interesting to work on. I confused myself many times though over what to de-reference and what to leave as a pointer.

What made you happy this week?

Being done with this week. Most of my assignments were due this week so now that I have finished them all it is a big weight off my shoulders. I also have spring break now to look forward to as well.

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

If you’re using a library/module you haven’t used before, it may be worth it to skim through or even read the entire documentation. A lot of times I end up trying to implement a solution that I later find is already in the library I’m using.

--

--