CS371p Spring 2021: Sonali Bhat

Sonali Bhat
2 min readApr 4, 2021

Week #10!

What did you do this past week?

This past week, I’ve been working on the Darwin assignment. I spent some time thinking about my design before I started to code, however, I found some of my decisions changing after I began. As I coded, I realized what Professor Downing meant when he asked us to design our classes such that information is being shared rather than requested. I think the articles that he asked us to read about the reasons not to use Getters and Setters were also pretty helpful in that regard.

What’s in your way?

I have been trying to juggle my time between this project and a project for another class. Both projects were assigned at the same time, and they are both due on the same day. I’ve been trying to balance my time so I make sure to have both done on time!

What will you do next week?

Next week, I plan to continue working on Darwin by adding more comments and documentation as well as additional tests.

If you read it, what did you think of the Dependency Inversion Principle?

I found the paper really interesting! It makes a lot of sense why high level modules (as well as low modules) should depend on abstracts rather than smaller modules. Details should always come after the base structure. I understand how following this practice generally helps avoid code rigidity, and allows code to be more reusable in the future.

What was your experience of vector, copy constructor, and copy assignment?

I think I’ve been following the class examples pretty well! I found it really interesting how we were able to use the swap function for copy in last Friday’s lecture. I would never have thought to do the swap to get the begin and end pointers of the vector that is about to be lost in order to fulfill the requirements for the copy.

What made you happy this week?

I was happy that I’ve been able to make a lot of progress on the Darwin project this past week!

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

Time management is definitely an important skill! When I have multiple assignments due around the same time, I set up checkpoints for myself to meet in order to make sure I’m staying on track to get everything done on time!

--

--

Sonali Bhat
0 Followers

Student currently pursuing a BS in Computer Science