CS371p Spring 2022: Week 10

Erika Tan
2 min readApr 2, 2022

--

CS371p Spring 2022: Week 10

  1. What did you do this past week? On Monday, we talked about the properties of vectors. On Wednesday, we discussed the time complexities and properties of of different data structures, including deques and stacks, and contrasted them to each other. We also talked about how deques are internally represented. On Friday, Downing introduced the next project (Darwin) to us.
  2. What’s in your way? I feel like the content requires more review with every week that passes by. I used to be able to look at the notes quickly for a few minutes before class to get the concepts solid in my head before quizzes, but lately I’ve been having to start a few minutes earlier to really remember what we talked about last time and understand what’s going on.
  3. What will you do next week? I’ll start the Darwin project with my partner and keep going to class. I will also review the notes before class.
  4. What did you think of Paper 10. Why getter and setter methods are evil? I understand the points that the author made, but it still seems weird to me that this article is going against the majority of CS classes that teach about getters and setters. If they were really that bad, I don’t think the curriculum would be as consistent.
  5. What was your experience of std::vector, std::deque, std::list, and std::stack? I’ve used vectors before but not deques and lists in recent memory. I also haven’t really thought about the iterator and resizing properties of vectors, so it was good to learn about them in class this week.
  6. What made you happy this week? I spontaneously watched a movie (Knives Out) with one of my roommates this week and it was really cool! Since it’s a murder mystery, it was fun to try to figure out what was happening, and I was still surprised at the end.
  7. What’s your pick-of-the-week or tip-of-the-week? My pick of the week is a reminder for everyone to check Ed Discussion! Usually right before projects are due, there are a lot of good threads started, and they’re useful for either solving bugs or making sure you’ve got everything needed to get an E/M on the project.

--

--