CS 371p Fall 2020: Kush Jain

Kush Jain
3 min readOct 11, 2020
  1. What did you do this past week?

This past week, I started working on Project 3 with my partner, with us being able to get the I/O working successfully. We started looking into the starter code some more, but haven’t yet finished implementing the required methods. I also started reviewing some of the course material for the upcoming exam, but still need to do some more prep (looking through the HackerRanks and preparing a page of notes)

2. What’s in your way?

Currently, not too much is in my way. The biggest items for me are to start preparing for the exam and to review the starter code so we can start implementing the required methods for Project 3. For the exam, I hope to go through all the in class activities and prepare a page of notes with all of the syntax I might not easily remember.

3. What will you do next week?

Next week, I plan to focus more on exam prep. For the exam, I want to prepare one page of notes along with going through all the past HackerRank exercises. Some of the areas I need to spend more time reviewing include iterators and the various ways of passing by value and by reference (items specific to C++).

4. If you read it, what did you think of The Open-Closed Principle?

I thought that The Open-Closed Principle is something that would definitely be useful to implement in programs I write, as it helps ensure that methods encapsulate one function and objects only represent one item. Thinking about how to not duplicate code is a very important situation, as it can save time in the long run, especially with large codebases, where there are multiple sub-classes.

5. What was your experience of iterator concepts, std::array, and std::vector? (this question will vary, week to week)

I had seen iterators in the past in Data Structures, however I was not super familiar with how they worked. I was surprised to learn how many different variants of iterators there were, and can see how this would be useful in restricting iterator access to the lowest possible amount necessary. It was interesting to see how arrays and vectors differed from each other, with arrays simply being passed as pointers, while vectors have the option to be passed by value.

6. What made you happy this week?

I was happy to catch up with some of my high school friends last weekend, where we played some board games virtually. It was fun to meet them after a couple of months.

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

My pick of the week would be to get outside. I have found it super easy to get overly caught up in work and not take the time to take a break. Getting outside has helped me take a break from school and destress.

--

--