CS371p Spring 2021: Sonali Bhat

Sonali Bhat
2 min readApr 11, 2021

--

Week #11!

What did you do this past week?

This past week, I mainly worked on finishing up my code for the Darwin project. I’ve been spending time adding unit tests and cleaning up my code!

What’s in your way?

I don’t feel like anything in particular is in my way.

What will you do next week?

Next week, I plan on getting the documentation for this project ready before the project due date. I still need to figure out how to create the UML diagram. I haven’t made one before and the symbols looked a little strange to me at first glance, so I think I’ll need to spend some time understanding how to represent my Darwin Project in this format.

If you read it, what did you think of the Why getter and setter methods are evil?

I thought this paper was really interesting! I read it before I started working on my Darwin project. Though the concepts make a lot of sense, I still struggled a bit when I tried to implement it in my project. It is a lot harder to break out of the procedural mindset than I expected.

What was your experience of vector, move constructor, move assignment, and allocator?

I feel like I’ve been able to follow the class examples pretty well! I thought it was really cool how we were able to include optional user defined allocators into our class through the templating! It really opened my eyes to how flexible we have the ability to make our code and classes in C++.

What made you happy this week?

I was happy that I had an overall lighter workload this past week, and I was able to spend some time outdoors!

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

Make sure to design your classes before you start to code! It gets a lot harder to change your design if you only start to define your code structure as you actually write your code. You also end up leaving a lot of unnecessary access as you decide what functionalities you actually need. Since we want to limit our access to implementation details (i.e. “getters” and “setters”), it’s really important to be extra aware every time we leave any such openings.

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

--

--

Sonali Bhat
Sonali Bhat

Written by Sonali Bhat

0 Followers

Student currently pursuing a BS in Computer Science

No responses yet

Write a response