CS371P Spring 2021: Samantha Tuapen

Hi all! This is my eleventh blog post for CS371P: Object-Oriented Programming

What did you do this past week?

What’s in your way?

What will you do next week?

What did you think of the Why getter and setter methods are evil?

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

I’ve never worked with move constructors or assignments before until I was introduced to them in these past lectures. It seems to be more space efficient than creating a copy since all the contents of an object are moved to its new container through the use of swap(). I will keep this functionality in mind for future projects where it may come in handy.

What made you happy this week?

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

Thanks for reading my blog post! Hope you have a good week ahead of you.