CS371p Spring 2022: Week 5

Erika Tan
2 min readFeb 19, 2022

CS371p Spring 2022: Week 5

  1. What did you do this past week? On Monday, we went over the difference between r- and l-values, and which ones are handled/returned in different operators. On Wednesday, we went over the Voting project input. On Friday, we reviewed the * and & tokens. I also spent some time with my pair programming partner starting the Voting project.
  2. What’s in your way? I’m still not feeling the most solid on pointers, references, and all the weird things you can do with * and &, so I should review those before the quizzes next week.
  3. What will you do next week? I’ll keep working on the Voting project with my partner, go to the lectures, and review Downing’s notes before each class to prepare for the quizzes.
  4. What did you think of Paper #5: Single Responsibility Principle? I agreed with the main point of the paper. It’s better for code quality, encapsulation, and the process debugging if you give one responsibility to each class.
  5. What was your experience of l-values, r-values, pointers, and references? I’ve dealt with exceptions in Java and Python. The syntax for C++ is not too different. As for StrCmp, I remember a similar exercise we had to do in Python for SWE last year.
  6. What made you happy this week? When I have free time, I go to Greg with my friends to boulder at the climbing gym. I went about 2–3 times this week and I could really see my progress in how much longer I can stay on the rocks and how many calluses are forming on my hands :) Also excited because a bunch of my roommates and I are going to Dallas this weekend!
  7. What’s your pick-of-the-week or tip-of-the-week? My tip of the week is to use a site like GeeksForGeeks or even the C++ documentation (en.cppreference.com) to get familiar with the C++ STL or read up more about pointers and references. Knowing what’s available in the STL is super important, especially for the Voting project. My partner and I started this week and had to look up a lot of syntax for different data structures.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

No responses yet