CS371p Spring 2022: Week 5

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.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store